DataSourceCollection.AddNew DataSourceCollection.AddNew DataSourceCollection.AddNew Method

Definition

Overloads

AddNew(String) AddNew(String) AddNew(String)

Creates and adds a DataSource, with the specified key, to the end of the collection.

AddNew(String, String) AddNew(String, String) AddNew(String, String)

Creates and adds a DataSource, with the specified name and key, to the end of the collection.

AddNew(String) AddNew(String) AddNew(String)

Creates and adds a DataSource, with the specified key, to the end of the collection.

public Microsoft.AnalysisServices.RelationalDataSource AddNew (string key);
override this.AddNew : string -> Microsoft.AnalysisServices.RelationalDataSource
Public Function AddNew (key As String) As RelationalDataSource

Parameters

key
String String String

The key of the DataSource to be added.

Returns

AddNew(String, String) AddNew(String, String) AddNew(String, String)

Creates and adds a DataSource, with the specified name and key, to the end of the collection.

public Microsoft.AnalysisServices.RelationalDataSource AddNew (string name, string key);
override this.AddNew : string * string -> Microsoft.AnalysisServices.RelationalDataSource
Public Function AddNew (name As String, key As String) As RelationalDataSource

Parameters

name
String String String

The name of the DataSource to be added.

key
String String String

The key of the DataSource to be added.

Returns

Applies to