AvailabilityReplicaCollection.Item Property (Int32)
Gets or sets the element at the specified index.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As AvailabilityReplica
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
The zero-based index of the element to get or set.
Property Value
Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The element at the specified index.