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
- accountType
Type: System.String
The Account to be added. 
Return Value
Type: Microsoft.AnalysisServices.Account
The zero-based index at which the Account has been added.