DatabaseCollection.Insert DatabaseCollection.Insert DatabaseCollection.Insert Method

Definition

Inserts a Database into the collection.

Overloads

Insert(Int32, String, String) Insert(Int32, String, String) Insert(Int32, String, String)

Creates and inserts a Database, with the specified name and identifier, into the collection at the specified index.

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

Creates and inserts a Database, with the specified identifier, into the collection at the specified index.

Insert(Int32, Database) Insert(Int32, Database) Insert(Int32, Database)

Inserts a Database into the collection at the specified index.

Insert(Int32) Insert(Int32) Insert(Int32)

Creates and inserts a Database into the collection at the specified index.

Insert(Int32, String, String) Insert(Int32, String, String) Insert(Int32, String, String)

Creates and inserts a Database, with the specified name and identifier, into the collection at the specified index.

public:
 Microsoft::AnalysisServices::Database ^ Insert(int index, System::String ^ name, System::String ^ id);
public Microsoft.AnalysisServices.Database Insert (int index, string name, string id);
Public Function Insert (index As Integer, name As String, id As String) As Database
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new Database will be inserted.

name
String String String

The name of the Database to be inserted.

id
String String String

The identifier of the Database to be inserted.

Returns
Exceptions

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

Creates and inserts a Database, with the specified identifier, into the collection at the specified index.

public:
 Microsoft::AnalysisServices::Database ^ Insert(int index, System::String ^ name);
public Microsoft.AnalysisServices.Database Insert (int index, string name);
Public Function Insert (index As Integer, name As String) As Database
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new Database will be inserted.

name
String String String

The name of the Database to be inserted.

Returns
Exceptions

Insert(Int32, Database) Insert(Int32, Database) Insert(Int32, Database)

Inserts a Database into the collection at the specified index.

public:
 void Insert(int index, Microsoft::AnalysisServices::Database ^ item);
public void Insert (int index, Microsoft.AnalysisServices.Database item);
Public Sub Insert (index As Integer, item As Database)
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new Database will be inserted.

item
Database Database Database

The Database to be inserted.

Exceptions

Insert(Int32) Insert(Int32) Insert(Int32)

Creates and inserts a Database into the collection at the specified index.

public:
 Microsoft::AnalysisServices::Database ^ Insert(int index);
public Microsoft.AnalysisServices.Database Insert (int index);
Public Function Insert (index As Integer) As Database
Parameters
index
Int32 Int32 Int32

The zero-based index at which the new Database will be inserted.

Returns
Exceptions

Applies to