NamedComponentCollection.ContainsName Method (String)

 

Applies To: SQL Server (starting with 2016)

Indicates whether the component contains its name.

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

Syntax

public bool ContainsName(
    string name
)
public:
virtual bool ContainsName(
    String^ name
) sealed
abstract ContainsName : 
        name:string -> bool
override ContainsName : 
        name:string -> bool
Public Function ContainsName (
    name As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the component contains its name; otherwise, false.

Implements

INamedComponentCollection.ContainsName(String)

See Also

NamedComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top