This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.ListWorkspaces Method (ArcObjects .NET 10.5 SDK) |
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