Compartilhar via


Método RelationshipCollection.Contains (Relationship)

Determines whether a relationship exists in the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Contains ( _
    item As Relationship _
) As Boolean
'Uso
Dim instance As RelationshipCollection 
Dim item As Relationship 
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    Relationship item
)
public:
bool Contains(
    Relationship^ item
)
member Contains : 
        item:Relationship -> bool
public function Contains(
    item : Relationship
) : boolean

Parâmetros

Valor de retorno

Tipo: System.Boolean
True if the relationship exists in the collection; otherwise, false.

Consulte também

Referência

RelationshipCollection Classe

Sobrecarregado Contains

Namespace Microsoft.AnalysisServices