Méthode MiningModelCollection.Find
Finds the specified MiningModel from the collection by the model's name.
Espace de noms : Microsoft.AnalysisServices.AdomdServer
Assembly : msmgdsrv (en msmgdsrv.dll)
Syntaxe
'Déclaration
Public Function Find ( _
name As String _
) As MiningModel
'Utilisation
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
Paramètres
- name
Type : System.String
The name of the MiningModel to be found.
Valeur de retour
Type : Microsoft.AnalysisServices.AdomdServer.MiningModel
The MiningModel if contained in the collection; otherwise, a nullune référence Null (Nothing dans Visual Basic) reference (Nothing in Visual Basic).
Notes
If the object is not found, the Find method returns nullune référence Null (Nothing dans Visual Basic). However, the Item property throws an exception if the object is not found.