Partager via


Méthode INamedComponentCollection.Contains (String)

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Function Contains ( _
    id As String _
) As Boolean
'Utilisation
Dim instance As INamedComponentCollection 
Dim id As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(id)
bool Contains(
    string id
)
bool Contains(
    String^ id
)
abstract Contains : 
        id:string -> bool
function Contains(
    id : String
) : boolean

Paramètres

Valeur de retour

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

Voir aussi

Référence

INamedComponentCollection Interface

Surcharge Contains

Espace de noms Microsoft.AnalysisServices