Condividi tramite


Metodo INamedComponentCollection.ContainsName

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

Indicates whether the collection contains a AttributeRelationship with the specified name.

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

Sintassi

'Dichiarazione
Function ContainsName ( _
    name As String _
) As Boolean
'Utilizzo
Dim instance As INamedComponentCollection 
Dim name As String 
Dim returnValue As Boolean 

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

Parametri

Valore restituito

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

Vedere anche

Riferimento

INamedComponentCollection Interfaccia

Spazio dei nomi Microsoft.AnalysisServices