Share via


DatabaseCollection.Add Method (Database)

Adds a Database to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Database _
) As Integer
'Usage
Dim instance As DatabaseCollection
Dim item As Database
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    Database item
)
public:
int Add(
    Database^ item
)
member Add : 
        item:Database -> int 
public function Add(
    item : Database
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the Database has been added.