INamedComponentCollection.Contains Method (String)

 

Applies To: SQL Server (starting with 2016)

Indicates whether the collection contains the AttributeRelationship, identified by attributeId.

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

Syntax

bool Contains(
    string id
)
bool Contains(
    String^ id
)
abstract Contains : 
        id:string -> bool
Function Contains (
    id As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the identified AttributeRelationship exists in the collection; otherwise, false.

See Also

Contains Overload
INamedComponentCollection Interface
Microsoft.AnalysisServices Namespace

Return to top