This document is archived and information here might be outdated.  Recommended version.


IGeoProcessor.ListWorkspaces Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor Interface > IGeoProcessor.ListWorkspaces Method
ArcGIS Developer Help

IGeoProcessor.ListWorkspaces Method

Return the list of workspaces within the current workspace (the workspace can be a folder).

[Visual Basic .NET]
Public Function ListWorkspaces ( _
    ByVal wildCard As String, _
    ByVal workspaceType As String _
) As IGpEnumList
[C#]
public IGpEnumList ListWorkspaces (
    string wildCard,
    string workspaceType
);
[C++]
HRESULT ListWorkspaces(
  BSTR wildCard,
  BSTR workspaceType
);
[C++]
Parameters
wildCard [in]

wildCard is a parameter of type BSTR workspaceType [in]
workspaceType is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGeoProcessor Interface