PerspectiveHierarchyCollection.Add Method (String)
Creates and adds a PerspectiveHierarchy, with the specified identifier, to the end of the collection.
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
Return Value
Type: Microsoft.AnalysisServices.PerspectiveHierarchy
The zero-based index at which the PerspectiveHierarchy has been added.
See Also