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


IDataLayer.DataSourceName Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IDataLayer.DataSourceName Property

Name of the data object for the layer.

[Visual Basic .NET]
Public Property DataSourceName As IName
[C#]
public IName DataSourceName {get; set;}
[C++]
HRESULT get_DataSourceName(
  IName** Name
);
[C++]
HRESULT put_DataSourceName(
  IName* Name
);
[C++]

Parameters Name [out, retval]
Name is a parameter of type IName** Name [in]
Name is a parameter of type IName*

Product Availability

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

See Also

IDataLayer Interface

.NET Samples

TOCControl metadata viewer (Code Files: MetadataViewer)

.NET Related Topics

How to create an image server layer