Partilhar via


DataSource Constructor (String, String)

Initializes a new instance of DataSource using a name and an identifier.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
Protected Sub New ( _
    name As String, _
    id As String _
)
protected DataSource (
    string name,
    string id
)
protected:
DataSource (
    String^ name, 
    String^ id
)
protected DataSource (
    String name, 
    String id
)
protected function DataSource (
    name : String, 
    id : String
)

Parameters

  • name
    A String that contains the name of the data source.
  • id
    A String that contains a unique identifier for the data source.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

DataSource Class
DataSource Members
Microsoft.AnalysisServices Namespace