Compartir a través de


MiningModelCollection.Find Método

Finds the specified MiningModel from the collection by the model's name.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdServer
Ensamblado:  msmgdsrv (en msmgdsrv.dll)

Sintaxis

'Declaración
Public Function Find ( _
    name As String _
) As MiningModel
'Uso
Dim instance As MiningModelCollection 
Dim name As String 
Dim returnValue As MiningModel 

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

Parámetros

Valor devuelto

Tipo: Microsoft.AnalysisServices.AdomdServer.MiningModel
The MiningModel if contained in the collection; otherwise, a nulles una referencia NULL (Nothing en Visual Basic). reference (Nothing in Visual Basic).

Comentarios

If the object is not found, the Find method returns nulles una referencia NULL (Nothing en Visual Basic).. However, the Item property throws an exception if the object is not found.

Vea también

Referencia

MiningModelCollection Clase

Espacio de nombres Microsoft.AnalysisServices.AdomdServer