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


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

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