IDataSourceInfo80

This interface gives the client access to information about the data source a feature layer is based on.

 

 

Properties

 

Attributes

An IAttributes80 representing the source’s attributes.

BBox

An IBBox2D80 representing the bounding box that designates a fixed rectangular section of the feature layer to load.

ConnectionString

Gets and sets information about the data source and the means of connecting to it.

HasZ

Gets a Boolean that indicates whether the data source supports Zs.

RecordsCount

Gets the number of records in the data source.

ConnectionString

Gets and sets a string that specifies information about the data source and the means of connecting to it. SeeFeature Layer Connection Strings for a list of the supported connection string values and parameters.

 

JavaScript

 

ConnectionString

 

C#

 

string ConnectionString { get; set; }

 

C++

 

HRESULT ConnectionString([out, retval] BSTR* pVal)

HRESULT ConnectionString([in] BSTR pVal)

HasZ

Gets a Boolean that indicates whether the data source supports Zs.

 

JavaScript

 

HasZ

 

C#

 

bool HasZ { get; }

 

C++

 

HRESULT HasZ([out, retval] VARIANT_BOOL* pVal)

RecordsCount

Gets the number of records in the data source, or -1, when the number of records is not available or cannot be retrieved efficiently.

 

JavaScript

 

RecordsCount

 

C#

 

int RecordsCount { get; }

 

C++

 

HRESULT RecordsCount([out, retval] long* pVal)