AvailabilityReplicaCollection.Item 屬性 (Int32)
Gets or sets the element at the specified index.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
index As Integer _
) As AvailabilityReplica
Get
'用途
Dim instance As AvailabilityReplicaCollection
Dim index As Integer
Dim value As AvailabilityReplica
value = instance(index)
public AvailabilityReplica this[
int index
] { get; }
public:
property AvailabilityReplica^ default[int index] {
AvailabilityReplica^ get (int index);
}
member Item : AvailabilityReplica
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- index
型別:System.Int32
The zero-based index of the element to get or set.
屬性值
型別:Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The element at the specified index.