DatabaseCollection.Item[] 属性

定义

重载

Item[Int32]

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

Item[String]

从集合中获取具有指定标识符的 Database

Item[Int32]

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

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

参数

index
Int32

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

属性值

指定索引处的 Database

例外

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

适用于

Item[String]

从集合中获取具有指定标识符的 Database

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

参数

id
String

要返回的 Database 的标识符。

属性值

Database具有指定标识符的标识符。

例外

集合中不包含具有指定标识符的 Database

适用于