This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataSourceDescription Interface > IDataSourceDescription.WorkspaceID Property (ArcObjects .NET 10.4 SDK) |
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
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.