Sdílet prostřednictvím


AttributeRelationshipCollection.ContainsName Method

Indicates whether the collection contains a AttributeRelationship with the specified name

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

Syntax

'Declaration
Public Function ContainsName ( _
    name As String _
) As Boolean
'Usage
Dim instance As AttributeRelationshipCollection
Dim name As String
Dim returnValue As Boolean

returnValue = instance.ContainsName(name)
public bool ContainsName(
    string name
)
public:
bool ContainsName(
    String^ name
)
member ContainsName : 
        name:string -> bool 
public function ContainsName(
    name : String
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns true if the identified AttributeRelationship exists in the collection; otherwise, false