共用方式為


Find 方法

Gets the CubeHierarchy, with the specified identifier, from the collection.

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

語法

'宣告
Public Function Find ( _
    hierarchyId As String _
) As CubeHierarchy
'用途
Dim instance As CubeHierarchyCollection
Dim hierarchyId As String
Dim returnValue As CubeHierarchy

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

參數

傳回值

型別:Microsoft.AnalysisServices. . :: . .CubeHierarchy
The CubeHierarchy if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).