NamedComponentCollection.ContainsName Method

Indicates whether the component contains its name.

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

Syntax

'Declaration
Public Function ContainsName ( _
    name As String _
) As Boolean
'Usage
Dim instance As NamedComponentCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.ContainsName(name)
public bool ContainsName(
    string name
)
public:
virtual bool ContainsName(
    String^ name
) sealed
abstract ContainsName : 
        name:string -> bool  
override ContainsName : 
        name:string -> bool
public final function ContainsName(
    name : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the component contains its name; otherwise, false.

Implements

INamedComponentCollection.ContainsName(String)

See Also

Reference

NamedComponentCollection Class

Microsoft.AnalysisServices Namespace