RelationshipCollection.Contains-Methode (Relationship)
Determines whether a relationship exists in the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Contains ( _
item As Relationship _
) As Boolean
'Usage
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
Parameter
- item
Typ: Microsoft.AnalysisServices.Relationship
The relationship to be located.
Rückgabewert
Typ: System.Boolean
True if the relationship exists in the collection; otherwise, false.