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


IWorkspaceFactory.IsWorkspace Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspaceFactory.IsWorkspace Method

True if the specified file identifies a workspace supported by the workspace factory.

[Visual Basic .NET]
Public Function IsWorkspace ( _
    ByVal fileName As String _
) As Boolean
[C#]
public bool IsWorkspace (
    string fileName
);
[C++]
HRESULT IsWorkspace(
  BSTR fileName
);
[C++]

Parameters fileName [in]
fileName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IWorkspaceFactory Interface

.NET Related Topics

Performing a spatial analysis operation using objects