Dela via


MiningModelCollection.Contains Method (MiningModel)

Indicates whether the collection contains a specified MiningModel.

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

Syntax

'Declaration
Public Function Contains ( _
    item As MiningModel _
) As Boolean
'Usage
Dim instance As MiningModelCollection
Dim item As MiningModel
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    MiningModel item
)
public:
bool Contains(
    MiningModel^ item
)
member Contains : 
        item:MiningModel -> bool 
public function Contains(
    item : MiningModel
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the MiningModel is contained in the collection; otherwise, false.