Partilhar via


Método ContainsName

Indicates whether the collection contains a AttributeRelationship with the specified name

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

Sintaxe

'Declaração
Public Function ContainsName ( _
    name As String _
) As Boolean
'Uso
Dim instance As AttributeRelationshipCollection
Dim name As String
Dim returnValue As Boolean

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

Parâmetros

Valor de retorno

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