Share via


RelationshipCollection.Contains Method

Definition

Overloads

Contains(Relationship)

Determines whether the specified Relationship is in the collection.

Contains(String)

Determines whether an Relationship with the specified ID is in the collection.

Contains(Relationship)

Determines whether the specified Relationship is in the collection.

public bool Contains (Microsoft.AnalysisServices.Relationship item);
override this.Contains : Microsoft.AnalysisServices.Relationship -> bool
Public Function Contains (item As Relationship) As Boolean

Parameters

item
Relationship

The Relationship to verify if it's in the collection.

Returns

True if the specified Relationship is found in the collection, false otherwise.

Applies to

Contains(String)

Determines whether an Relationship with the specified ID is in the collection.

public bool Contains (string id);
override this.Contains : string -> bool
Public Function Contains (id As String) As Boolean

Parameters

id
String

The ID of the Relationship to be looked for.

Returns

True if an Relationship with the specified ID is found in the collection, false otherwise.

Applies to