Metodo INamedComponentCollection.Contains (String)

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Function Contains ( _
    id As String _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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

Vedere anche

Riferimento

INamedComponentCollection Interfaccia

Overload Contains

Spazio dei nomi Microsoft.AnalysisServices