Delen via


PerspectiveHierarchyCollection.Add Method (String)

Creates, adds to collection and returns a new PerspectiveHierarchy.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Add ( _
    hierarchyId As String _
) As PerspectiveHierarchy
'Usage
Dim instance As PerspectiveHierarchyCollection 
Dim hierarchyId As String 
Dim returnValue As PerspectiveHierarchy 

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.PerspectiveHierarchy
The newly created PerspectiveHierarchy.

See Also

Reference

PerspectiveHierarchyCollection Class

Add Overload

Microsoft.AnalysisServices Namespace