Partager via


AttributeRelationshipCollection.Remove Method

Definition

Overloads

Remove(AttributeRelationship, Boolean)

Removes the specified AttributeRelationship from the collection.

Remove(AttributeRelationship)

Removes the specified AttributeRelationship from the collection.

Remove(String)

Removes the AttributeRelationship with the specified AttributeID from the collection.

Remove(String, Boolean)

Removes the AttributeRelationship with the specified AttributeID from the collection.

Remove(AttributeRelationship, Boolean)

Removes the specified AttributeRelationship from the collection.

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

Parameters

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(AttributeRelationship)

Removes the specified AttributeRelationship from the collection.

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

Parameters

Exceptions

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

Applies to

Remove(String)

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

Applies to

Remove(String, Boolean)

Removes the AttributeRelationship 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 AttributeRelationship 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