Partager via


Méthode Add (String)

Creates and adds a PerspectiveCalculation that has the specified name to the end of the collection.

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

Syntaxe

'Déclaration
Public Function Add ( _
    name As String _
) As PerspectiveCalculation
'Utilisation
Dim instance As PerspectiveCalculationCollection
Dim name As String
Dim returnValue As PerspectiveCalculation

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

Paramètres

Valeur de retour

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