Share via


DISCOVER_DATASOURCES Rowset

Returns a list of the XML for Analysis (XMLA) provider data sources that are available on the server or Web service. The published data sources are returned from a URL of the application Web server. The client can connect to one of the data sources in this list. For an example of how the data sources may be published, refer to "XML for Analysis Implementation Walkthrough" in Appendix A of the XML for Analysis Specification.

If you call the Discover method with the DISCOVER_DATASOURCES enumeration value in the RequestType element, the Discover method returns the DISCOVER_DATASOURCES rowset.

Rowset Columns

The client selects a data source by setting the DataSourceInfo property in the Properties element that is sent along with the Command element by the Execute method. A client should not construct the contents of the DataSourceInfo property to send to the server. Instead, the client should use the Discover method to find the data sources that the provider supports. The client then sends back the same value for the DataSourceInfo property that it gets from the DISCOVER_DATASOURCES rowset.

The DISCOVER_DATASOURCES rowset contains the following columns.

Column name

Type indicator

Length

Description

DataSourceName

DBTYPE_WSTR

The name of the data source, such as Adventure Works.

DataSourceDescription

DBTYPE_WSTR

The description of the data source entered by the publisher.

May return NULL.

URL

DBTYPE_WSTR

The unique path that shows where to invoke the XML for Analysis (XMLA) methods for that data source.

May return NULL.

DataSourceInfo

DBTYPE_WSTR

A string that contains any additional information required to connect to the data source.

May return NULL.

ProviderName

DBTYPE_WSTR

The name of the provider for the data source.

Example: "MSOLAP"

May return NULL.

ProviderType

DBTYPE_WSTR

The types of data supported by the provider. This array can include one or more of the following types:

MDP: multidimensional data provider.

TDP: tabular data provider.

DMP: data mining provider (implements the OLE for DB for Data Mining specification).

AuthenticationMode

DBTYPE_WSTR

A specification of what type of security mode the data source uses. Values can be one of the following:

Unauthenticated: No user ID or password has to be sent.

Authenticated: User ID and password must be included in the information required to connect to the data source.

Integrated: The data source uses the underlying security to determine authorization, such as Integrated Security provided by Microsoft Internet Information Services (IIS).

This schema rowset is not sorted.

Important

The DISCOVER_DATASOURCES rowset cannot be queried using the SELECT command syntax. However, the DISCOVER_DATASOURCES rowset can be queried using GetSchemaDataSet()

Restriction Columns

The DISCOVER_DATASOURCES rowset can be restricted on the columns listed in the following table.

Column name

Type indicator

Restriction State

DataSourceName

DBTYPE_WSTR

Optional.

URL

DBTYPE_WSTR

Optional.

ProviderName

DBTYPE_WSTR

Optional.

ProviderType

DBTYPE_WSTR

Optional.

AuthenticationMode

DBTYPE_WSTR

Optional.

See Also

Reference