共用方式為


PerspectiveHierarchyCollection.Find 方法

Gets the PerspectiveHierarchy that has the specified identifier from the collection.

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

語法

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

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

參數

傳回值

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

請參閱

參考

PerspectiveHierarchyCollection 類別

Microsoft.AnalysisServices 命名空間