This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInWorkspaceFactoryHelper Interface > IPlugInWorkspaceFactoryHelper.IsWorkspace Method (ArcObjects .NET 10.4 SDK) |
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
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.