AvailabilityGroupListenerCollection.Item[String] AvailabilityGroupListenerCollection.Item[String] AvailabilityGroupListenerCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets an AvailabilityGroupListener object in the collection by index number.

Item[String] Item[String] Item[String]

Gets an AvailabilityGroupListener object in the collection by name.

Item[Int32] Item[Int32] Item[Int32]

Gets an AvailabilityGroupListener object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::AvailabilityGroupListener ^ default[int] { Microsoft::SqlServer::Management::Smo::AvailabilityGroupListener ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As AvailabilityGroupListener
Parameters
index
Int32 Int32 Int32

Specifies the position of the AvailabilityGroupListener object in the AvailabilityGroupListenerCollection collection.

Property Value

Item[String] Item[String] Item[String]

Gets an AvailabilityGroupListener object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::AvailabilityGroupListener ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::AvailabilityGroupListener ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As AvailabilityGroupListener
Parameters
name
String String String

The name of the AvailabilityGroupListener object in the AvailabilityGroupListenerCollection collection.

Property Value

Applies to