Dela via


MiningModelCollection.Find Method

Gets the MiningModel, with the specified identifier, from the collection.

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

Syntax

'Declaration
Public Function Find ( _
    id As String _
) As MiningModel
'Usage
Dim instance As MiningModelCollection
Dim id As String
Dim returnValue As MiningModel

returnValue = instance.Find(id)
public MiningModel Find(
    string id
)
public:
MiningModel^ Find(
    String^ id
)
member Find : 
        id:string -> MiningModel 
public function Find(
    id : String
) : MiningModel

Parameters

Return Value

Type: Microsoft.AnalysisServices.MiningModel
The MiningModel if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).