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
- hierarchyId
Type: System.String
The identifier for the new PerspectiveHierarchy (needs to be unique in the collection).
Return Value
Type: Microsoft.AnalysisServices.PerspectiveHierarchy
The newly created PerspectiveHierarchy.