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


IWorkspaceFactory.GetClassID Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory Interface > IWorkspaceFactory.GetClassID Method
ArcGIS Developer Help

IWorkspaceFactory.GetClassID Method

The class ID of the WorkspaceFactory.

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

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