Partager via


Add méthode (String)

Creates and adds a PerspectiveHierarchy, with the specified identifier, to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    hierarchyId As String _
) As PerspectiveHierarchy
'Utilisation
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

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices. . :: . .PerspectiveHierarchy
The zero-based index at which the PerspectiveHierarchy has been added.