Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an AvailabilityGroup object in the collection by index number.
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 AvailabilityGroup
Get
'Usage
Dim instance As AvailabilityGroupCollection
Dim index As Integer
Dim value As AvailabilityGroup
value = instance(index)
public AvailabilityGroup this[
int index
] { get; }
public:
property AvailabilityGroup^ default[int index] {
AvailabilityGroup^ get (int index);
}
member Item : AvailabilityGroup
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
The position of the availability group in the collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
An availability group in the collection.