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 AvailabilityGroupListener object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As AvailabilityGroupListener
Get
'Usage
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.