Compartilhar via


Método INamedComponentCollection.ContainsName

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

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

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

Sintaxe

'Declaração
Function ContainsName ( _
    name As String _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

INamedComponentCollection Interface

Namespace Microsoft.AnalysisServices