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