AvailabilityGroupCollection.Item Property (Int32)

 

Gets an AvailabilityGroup object in the collection by index number.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public AvailabilityGroup this[
	int index
] { get; }

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.

Return to top
Show: