Propriedade do RDL AccountCollection.Item (String)
Gets the Account, with the specified identifier, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
accountType As String _
) As Account
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- accountType
Tipo: System.String
The identifier of the Account to be returned.
Valor da propriedade
Tipo: Microsoft.AnalysisServices.Account
The Account specified by the identifier.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | accountType is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | accountType does not exist in the collection. |