Tests if the workspace string represents a valid workspace.
[Visual Basic .NET] Public Function IsWorkspace ( _ ByVal wksString As String _ ) As Boolean
[C#] public bool IsWorkspace ( string wksString );
[C++]
HRESULT IsWorkspace(
BSTR wksString,
VARIANT_BOOL* isWks
);
[C++]Parameters
wksString [in] wksString is a parameter of type BSTR isWks [out, retval] isWks is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Takes a workspace string, and determines if it refers to an actual workspace. Should return true if OpenWorkspace is expected to succeed for this workspace string.