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


IPlugInWorkspaceFactoryHelper.IsWorkspace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInWorkspaceFactoryHelper Interface > IPlugInWorkspaceFactoryHelper.IsWorkspace Method
ArcGIS Developer Help

IPlugInWorkspaceFactoryHelper.IsWorkspace Method

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
);
[C++]
Parameters
wksString [in]

wksString is a parameter of type BSTR

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.

See Also

IPlugInWorkspaceFactoryHelper Interface