共用方式為


DataSource (Decision Support Objects)

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

The DataSource object in Decision Support Objects (DSO) provides access to the data sources associated with a database, cube, partition, or aggregation in Microsoft® SQL Server™ 2005 Analysis Services, under the DataSources collection for each DSO object. The DataSource object uses the DataSource interface, with a ClassType property of clsDataSource.

The DataSource object is used to:

  • Retrieve data source-specific information such as connection strings and quote characters for use by client applications.

  • Determine various states, such as connection state, of the data source in Analysis Services.