AvailabilityGroupListenerCollection.Item Property (String)
Gets an AvailabilityGroupListener object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public ReadOnly Default Property Item ( _
name As String _
) As AvailabilityGroupListener
Get
'Kullanım
Dim instance As AvailabilityGroupListenerCollection
Dim name As String
Dim value As AvailabilityGroupListener
value = instance(name)
public AvailabilityGroupListener this[
string name
] { get; }
public:
property AvailabilityGroupListener^ default[String^ name] {
AvailabilityGroupListener^ get (String^ name);
}
member Item : AvailabilityGroupListener
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
The name of the AvailabilityGroupListener object in the AvailabilityGroupListenerCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener
An AvailabilityGroupListener object.