Condividi tramite


Metodo Find

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

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Function Find ( _
    name As String _
) As MiningModel
'Utilizzo
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

Parametri

Osservazioni

If the object is not found, the Find method returns null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). . However, the Item property throws an exception if the object is not found.