Share via


CubeAttributeCollection.Remove Method

Definition

Overloads

Remove(CubeAttribute)

Removes the specified CubeAttribute from the collection.

Remove(String)

Removes the CubeAttribute with the specified AttributeID from the collection.

Remove(CubeAttribute, Boolean)

Removes the specified CubeAttribute from the collection.

Remove(String, Boolean)

Removes the CubeAttribute with the specified AttributeID from the collection.

Remove(CubeAttribute)

Removes the specified CubeAttribute from the collection.

public void Remove (Microsoft.AnalysisServices.CubeAttribute item);
override this.Remove : Microsoft.AnalysisServices.CubeAttribute -> unit
Public Sub Remove (item As CubeAttribute)

Parameters

item
CubeAttribute

The CubeAttribute to be removed.

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

Applies to

Remove(String)

Removes the CubeAttribute 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 CubeAttribute to be removed.

Applies to

Remove(CubeAttribute, Boolean)

Removes the specified CubeAttribute from the collection.

public void Remove (Microsoft.AnalysisServices.CubeAttribute item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.CubeAttribute * bool -> unit
Public Sub Remove (item As CubeAttribute, cleanUp As Boolean)

Parameters

item
CubeAttribute

The CubeAttribute 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 CubeAttribute 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 CubeAttribute 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.

Applies to