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


IDataSourceDescription.WorkspaceID Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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(
  BSTR* 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