PartitionCollection.Remove Method (Partition)
Removes the specified Partition from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As Partition _
)
'Usage
Dim instance As PartitionCollection
Dim item As Partition
instance.Remove(item)
public void Remove(
Partition item
)
public:
void Remove(
Partition^ item
)
member Remove :
item:Partition -> unit
public function Remove(
item : Partition
)
Parameters
- item
Type: Microsoft.AnalysisServices.Partition
The Partition to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |