AvailabilityGroupListenerCollection.Add Método
Adds an AvailabilityGroupListener object to the availability group listener collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
AvailabilityGroupListener As AvailabilityGroupListener _
)
'Uso
Dim instance As AvailabilityGroupListenerCollection
Dim AvailabilityGroupListener As AvailabilityGroupListener
instance.Add(AvailabilityGroupListener)
public void Add(
AvailabilityGroupListener AvailabilityGroupListener
)
public:
void Add(
AvailabilityGroupListener^ AvailabilityGroupListener
)
member Add :
AvailabilityGroupListener:AvailabilityGroupListener -> unit
public function Add(
AvailabilityGroupListener : AvailabilityGroupListener
)
Parámetros
- AvailabilityGroupListener
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener
The availability group listener to add.