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 nullnull 引用(在 Visual Basic 中为 Nothing) reference (Nothing in Visual Basic).

注释

If the object is not found, the Find method returns nullnull 引用(在 Visual Basic 中为 Nothing). However, the Item property throws an exception if the object is not found.

请参阅

参考

MiningModelCollection 类

Microsoft.AnalysisServices.AdomdServer 命名空间