AccountCollection.Item[] Property

Definition

Overloads

Item[String]

Gets the Account, with the specified account type, from the collection.

Item[Int32]

Gets the Account, at the specified index, from the collection.

Item[String]

Gets the Account, with the specified account type, from the collection.

public Microsoft.AnalysisServices.Account this[string accountType] { get; }
member this.Item(string) : Microsoft.AnalysisServices.Account
Default Public ReadOnly Property Item(accountType As String) As Account

Parameters

accountType
String

The account type of the Account to be returned.

Property Value

The Account with the specified account type.

Exceptions

The collection doesn't contain an Account with the specified account type.

Applies to

Item[Int32]

Gets the Account, at the specified index, from the collection.

public Microsoft.AnalysisServices.Account this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.Account
Default Public ReadOnly Property Item(index As Integer) As Account

Parameters

index
Int32

The zero-based index of the Account to be returned.

Property Value

The Account at the specified index.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

Applies to