Partager via


Méthode Add (String)

Creates and adds an Account, with the specified identifier, to the end of the collection.

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

Syntaxe

'Déclaration
Public Function Add ( _
    accountType As String _
) As Account
'Utilisation
Dim instance As AccountCollection
Dim accountType As String
Dim returnValue As Account

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

Paramètres

Valeur de retour

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