Metodo MiningServiceCollection.Find
Gets the specified MiningService from the MiningServiceCollection collection by its name.
Spazio dei nomi Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Sintassi
'Dichiarazione
Public Function Find ( _
index As String _
) As MiningService
'Utilizzo
Dim instance As MiningServiceCollection
Dim index As String
Dim returnValue As MiningService
returnValue = instance.Find(index)
public MiningService Find(
string index
)
public:
MiningService^ Find(
String^ index
)
member Find :
index:string -> MiningService
public function Find(
index : String
) : MiningService
Parametri
- index
Tipo: System.String
The name of the MiningService to find.
Valore restituito
Tipo: Microsoft.AnalysisServices.AdomdClient.MiningService
The MiningService with the specifiedname. nullriferimento Null (Nothing in Visual Basic). if the mining services is not found.
Osservazioni
If the object is not found, the Find method returns nullriferimento Null (Nothing in Visual Basic)., whereas the Item property throws an exception.