Contains Method (String)
Collapse the table of content
Expand the table of content

LevelCollection.Contains Method (String)


Applies To: SQL Server (starting with 2016)

Indicates whether the collection contains a Level, with the specified identifier.

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

public bool Contains(
	string id


Type: System.String

The identifier of the Level to be located.

Return Value

Type: System.Boolean

true if the Level is contained in the collection; otherwise, false.

Return to top
© 2016 Microsoft