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
[C#]
public string WorkspaceID {get; set;}
[C++]
HRESULT get_WorkspaceID(
  System.String* pWorkspaceID
);
[C++]
HRESULT put_WorkspaceID(
  BSTR pWorkspaceID
);
[C++]
Parameters
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.

Remarks

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