Condividi tramite


Metodo ContainsName

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
Public Function ContainsName ( _
    name As String _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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