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,
  IGpEnumList** ppEnumList
);
[C++]

Parameters

wildCard [in]   wildCard is a parameter of type BSTR workspaceType [in]   workspaceType is a parameter of type BSTR ppEnumList [out, retval]

  ppEnumList is a parameter of type IGpEnumList

Product Availability

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

See Also

IGeoProcessor Interface