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


IDEGdbUtilities.GetWorkspaceTypeFromString Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDEGdbUtilities.GetWorkspaceTypeFromString Method

Get worspace type from string.

[Visual Basic .NET]
Public Function GetWorkspaceTypeFromString ( _
    ByVal desc As String _
) As esriWorkspaceType
[C#]
public esriWorkspaceType GetWorkspaceTypeFromString (
    string desc
);
[C++]
HRESULT GetWorkspaceTypeFromString(
  BSTR desc,
  esriWorkspaceType* Type
);
[C++]

Parameters desc [in] desc is a parameter of type BSTR Type [out, retval]
Type is a parameter of type esriWorkspaceType

Product Availability

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

See Also

IDEGdbUtilities Interface