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


IWorkspaceFactory.GetClassID Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspaceFactory.GetClassID Method

The class ID of the WorkspaceFactory.

[Visual Basic .NET]
Public Function GetClassID ( _
) As UID
[C#]
public UID GetClassID (
);
[C++]
HRESULT GetClassID(
  IUID** ClassID
);
[C++]

Parameters ClassID [out, retval]
ClassID is a parameter of type IUID

Product Availability

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

Remarks

GetClassID returns the unique identifier for the workspace factory. You can use this to distinguish different versions of the same type of factory, for example, whether you are working with an SDEWorkspace, FileGDBWorkspace or AccessWorkspace factory.

See Also

IWorkspaceFactory Interface