DataSource Constructor (String, String)
Initializes a new instance of the DataSource class 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
The name of the data source.
- id
Type: System.String
A unique identifier for the data source.