Add 方法 (String)
Creates and adds an Account, with the specified identifier, to the end of the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function Add ( _
accountType As String _
) As Account
'用途
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
參數
- accountType
型別:System. . :: . .String
The Account to be added.
傳回值
型別:Microsoft.AnalysisServices. . :: . .Account
The zero-based index at which the Account has been added.