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

CubeCollection.Contains Method (Cube)


Applies To: SQL Server (starting with 2016)

Indicates whether the collection contains a specified Cube.

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

public bool Contains(
	Cube item


Type: Microsoft.AnalysisServices.Cube

The Cube to be located.

Return Value

Type: System.Boolean

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

Return to top
© 2015 Microsoft