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

IDataSourceDescription.WorkspaceID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataSourceDescription Interface > IDataSourceDescription.WorkspaceID Property
ArcGIS Developer Help

IDataSourceDescription.WorkspaceID Property

ID of a workspace that is registered with the Map Service.

[Visual Basic .NET]
Public Property WorkspaceID As String
public string WorkspaceID {get; set;}
HRESULT get_WorkspaceID(
  System.String* pWorkspaceID
HRESULT put_WorkspaceID(
  BSTR pWorkspaceID
pWorkspaceID [out, retval]

pWorkspaceID is a parameter of type BSTR* pWorkspaceID [in]
pWorkspaceID is a parameter of type BSTR

Product Availability

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


Note: this is the ID that is assigned to each registered workspace by the author at the publishing time. MapServer API does not provide any property or function to retrieve them as a client. You need to get it from the mapservice's configuration.

See Also

IDataSourceDescription Interface