共用方式為


Find 方法

Returns the specified MiningStructure from the MiningStructureCollection collection by the structure's name.

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public Function Find ( _
    name As String _
) As MiningStructure
'用途
Dim instance As MiningStructureCollection
Dim name As String
Dim returnValue As MiningStructure

returnValue = instance.Find(name)
public MiningStructure Find(
    string name
)
public:
MiningStructure^ Find(
    String^ name
)
member Find : 
        name:string -> MiningStructure 
public function Find(
    name : String
) : MiningStructure

參數

備註

If the object is not found, the Find method returns null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) . However the Item property throws an exception if the object is not found.