This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerDescription2 Interface > ILayerDescription2.SourceID Property (ArcObjects .NET 10.4 SDK) |
The id of the source to use when drawing the layer.
[Visual Basic .NET] Public Property SourceID As String
[C#] public string SourceID {get; set;}
[C++]
HRESULT get_SourceID(
BSTR* srcID
);
[C++]
HRESULT put_SourceID(
BSTR srcID
);
[C++]
Parameters srcID [out, retval] srcID is a parameter of type BSTR srcID [in] srcID is a parameter of type BSTR
SourceID is used for map service interaction with the GPServer. It is a unique job id assigned to a geoprocessing service each time it runs on the server. This property can be used to find out which geoprocessing job has created this layer.
It is important to note that LayerID, SourceID and the index of layers (see MapLayerInfos) in map document are not the same.