Share via


RelationshipCollection.Remove Method

Definition

Overloads

Remove(Relationship)

Removes the specified Relationship from this collection.

Remove(String)

Removes an Relationship from this collection.

Remove(Relationship, Boolean)

Removes the specified Relationship from this collection.

Remove(String, Boolean)

Removes an Relationship from this collection.

Remove(Relationship)

Removes the specified Relationship from this collection.

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

Parameters

item
Relationship

The Relationship to remove.

Applies to

Remove(String)

Removes an Relationship from this collection.

public void Remove (string id);
override this.Remove : string -> unit
Public Sub Remove (id As String)

Parameters

id
String

The ID of the Relationship to be removed.

Applies to

Remove(Relationship, Boolean)

Removes the specified Relationship from this collection.

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

Parameters

item
Relationship

The Relationship to remove.

cleanUp
Boolean

If false, it will not delete referencing objects.

Applies to

Remove(String, Boolean)

Removes an Relationship from this collection.

public void Remove (string id, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (id As String, cleanUp As Boolean)

Parameters

id
String

The ID of the Relationship to be removed.

cleanUp
Boolean

If false, it will not delete referencing objects.

Applies to