PerspectiveHierarchyCollection.Add Method (PerspectiveHierarchy)
Adds a PerspectiveHierarchy to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As PerspectiveHierarchy _
) As Integer
'Usage
Dim instance As PerspectiveHierarchyCollection
Dim item As PerspectiveHierarchy
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
PerspectiveHierarchy item
)
public:
int Add(
PerspectiveHierarchy^ item
)
member Add :
item:PerspectiveHierarchy -> int
public function Add(
item : PerspectiveHierarchy
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.PerspectiveHierarchy
The PerspectiveHierarchy to add.
Return Value
Type: System.Int32
The zero-based index at which the PerspectiveHierarchy has been added.