Item-Eigenschaft (String)
Gets the Account, with the specified identifier, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
accountType As String _
) As Account
Get
'Usage
Dim instance As AccountCollection
Dim accountType As String
Dim value As Account
value = instance(accountType)
public Account this[
string accountType
] { get; }
public:
property Account^ default[String^ accountType] {
Account^ get (String^ accountType);
}
member Item : Account
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- accountType
Typ: System. . :: . .String
The identifier of the Account to be returned.
Eigenschaftswert
Typ: Microsoft.AnalysisServices. . :: . .Account
The Account specified by the identifier.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | accountType is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | accountType does not exist in the collection. |