AccountCollection.Item[] 属性

定义

重载

Item[String]

从集合中获取具有指定帐户类型的 Account

Item[Int32]

从集合中的指定索引处获取 Account

Item[String]

从集合中获取具有指定帐户类型的 Account

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

参数

accountType
String

要返回的 Account 的帐户类型。

属性值

Account具有指定帐户类型的帐户。

例外

集合中不包含具有指定帐户类型的 Account

适用于

Item[Int32]

从集合中的指定索引处获取 Account

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

参数

index
Int32

要返回的 Account 的从零开始的索引。

属性值

指定索引处的 Account

例外

指定的索引不是有效值(小于零或大于元素总数)。

适用于