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