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
- item
Type: Microsoft.AnalysisServices.Database
The Database to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |