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


IGeoProcessor.ListWorkspaces Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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