Share via


DatabaseCollection.Remove Method (Database)

Removes the specified Database from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    item As Database _
)
'Usage
Dim instance As DatabaseCollection
Dim item As Database

instance.Remove(item)
public void Remove(
    Database item
)
public:
void Remove(
    Database^ item
)
member Remove : 
        item:Database -> unit 
public function Remove(
    item : Database
)

Parameters

Exceptions

Exception Condition
ItemNotFoundException

item is not contained by the collection.