Partager via


ContainsName méthode

Indicates whether the collection contains a AttributeRelationship with the specified name

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function ContainsName ( _
    name As String _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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