Sdílet prostřednictvím


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 _
)
'Usage
Dim name As String
Dim id As String

Dim instance As New DataSource(name, id)
protected DataSource(
    string name,
    string id
)
protected:
DataSource(
    String^ name, 
    String^ id
)
new : 
        name:string * 
        id:string -> DataSource
protected function DataSource(
    name : String, 
    id : String
)

Parameters

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