DatabaseCollection.Add Method (String, String)
SQL Server 2012
Creates and adds a Database, with the specified name and identifier, to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Parameters
- name
- Type: System.String
The name of the Database to be added.
- id
- Type: System.String
The identifier of the Database to be added.
Return Value
Type: Microsoft.AnalysisServices.DatabaseThe zero-based index at which the Database has been added.
