Поделиться через


Метод MiningModelCollection.Find

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

Пространство имен:  Microsoft.AnalysisServices.AdomdServer
Сборка:  msmgdsrv (в msmgdsrv.dll)

Синтаксис

'Декларация
Public Function Find ( _
    name As String _
) As MiningModel
'Применение
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

Параметры

Возвращаемое значение

Тип: Microsoft.AnalysisServices.AdomdServer.MiningModel
The MiningModel if contained in the collection; otherwise, a nullпустая ссылка (Nothing в Visual Basic) reference (Nothing in Visual Basic).

Замечания

If the object is not found, the Find method returns nullпустая ссылка (Nothing в Visual Basic). However, the Item property throws an exception if the object is not found.

См. также

Справочник

MiningModelCollection Класс

Пространство имен Microsoft.AnalysisServices.AdomdServer