AvailabilityGroupListenerCollection.Item Propiedad (String)
Gets an AvailabilityGroupListener object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As AvailabilityGroupListener
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
The name of the AvailabilityGroupListener object in the AvailabilityGroupListenerCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener
An AvailabilityGroupListener object.