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


IMapTableDescription.SourceID Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapTableDescription.SourceID Property

The id of the data source to connect to.

[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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

Please note that this is currently not implemented for StandaloneTable.

See Also

IMapTableDescription Interface