Share via


ModelComponentCollection.Contains Method (String)

 

Applies To: SQL Server (starting with 2016)

Determines whether an item with the specified key is in the ModelComponentCollection.

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

Syntax

protected bool Contains(
    string key
)
protected:
bool Contains(
    String^ key
)
member Contains : 
        key:string -> bool
Protected Function Contains (
    key As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if key found in the ModelComponentCollection; otherwise, false.

See Also

Contains Overload
ModelComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top