This document is archived and information here might be outdated. Recommended version. |
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(
System.String* 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.