AccountCollection.Add Method (String)

Creates and adds an Account, 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 ( _
    accountType As String _
) As Account
'Usage
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

Parameters

Return Value

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