ModelComponentCollection.Contains Method (IModelComponent)

 

Applies To: SQL Server (starting with 2016)

Determines whether the specified item is in the collection.

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

protected bool Contains(
	IModelComponent item
)

Parameters

item
Type: Microsoft.AnalysisServices.IModelComponent

The item to verify if it’s in the collection.

Return Value

Type: System.Boolean

true if the specified item is found in the collection; otherwise, false.

Return to top
Show: