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


IGpDispatch.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 > IGpDispatch Interface > IGpDispatch.ListWorkspaces Method
ArcGIS Developer Help

IGpDispatch.ListWorkspaces Method

Returns a collection of workspaces in the current workspace based on a query string and type.

[Visual Basic .NET]
Public Function ListWorkspaces ( _
    [ByRef wildCard As Object], _
    [ByRef workspaceType As Object] _
) As Object
[C#]
public object ListWorkspaces (
    ref object wildCard,
    ref object workspaceType
);
[C++]
HRESULT ListWorkspaces(
  Variant* wildCard,
  Variant* workspaceType
);
[C++]
Parameters
wildCard [in, optional]

wildCard is a parameter of type VARIANT* workspaceType [in, optional]
workspaceType is a parameter of type VARIANT*

Product Availability

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

See Also

IGpDispatch Interface