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


IPlugInWorkspaceFactoryHelper.IsWorkspace Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  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.

See Also

IPlugInWorkspaceFactoryHelper Interface