AggregationAttributeCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Remove(AggregationAttribute) |
Removes the specified AggregationAttribute from the collection. |
Remove(String) |
Removes the AggregationAttribute with the specified AttributeID from the collection. |
Remove(AggregationAttribute, Boolean) |
Removes the specified AggregationAttribute from the collection. |
Remove(String, Boolean) |
Removes the AggregationAttribute with the specified AttributeID from the collection. |
Remove(AggregationAttribute)
Removes the specified AggregationAttribute from the collection.
public void Remove (Microsoft.AnalysisServices.AggregationAttribute item);
override this.Remove : Microsoft.AnalysisServices.AggregationAttribute -> unit
Public Sub Remove (item As AggregationAttribute)
Parameters
- item
- AggregationAttribute
The AggregationAttribute to be removed.
Exceptions
The specified item is a null reference (Nothing in Visual Basic).
Applies to
Remove(String)
Removes the AggregationAttribute with the specified AttributeID from the collection.
public void Remove (string attributeId);
override this.Remove : string -> unit
Public Sub Remove (attributeId As String)
Parameters
- attributeId
- String
The AttributeID of the AggregationAttribute to be removed.
Applies to
Remove(AggregationAttribute, Boolean)
Removes the specified AggregationAttribute from the collection.
public void Remove (Microsoft.AnalysisServices.AggregationAttribute item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.AggregationAttribute * bool -> unit
Public Sub Remove (item As AggregationAttribute, cleanUp As Boolean)
Parameters
- item
- AggregationAttribute
The AggregationAttribute to be removed.
- cleanUp
- Boolean
True, if referencing objects are to be deleted; otherwise, false.
Exceptions
The specified item is a null reference (Nothing in Visual Basic).
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.
Applies to
Remove(String, Boolean)
Removes the AggregationAttribute with the specified AttributeID from the collection.
public void Remove (string attributeId, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (attributeId As String, cleanUp As Boolean)
Parameters
- attributeId
- String
The AttributeID of the AggregationAttribute to be removed.
- cleanUp
- Boolean
True, if referencing objects are to be deleted; otherwise, false.
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.