INamedComponentCollection.ContainsName Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

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

Syntax

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

Parameters

Return Value

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

See Also

Reference

INamedComponentCollection Interface

Microsoft.AnalysisServices Namespace