Construtor AvailabilityGroupState
Initializes a new instance of the AvailabilityGroupState class with the specified availability group.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub New ( _
ag As AvailabilityGroup _
)
'Uso
Dim ag As AvailabilityGroup
Dim instance As New AvailabilityGroupState(ag)
public AvailabilityGroupState(
AvailabilityGroup ag
)
public:
AvailabilityGroupState(
AvailabilityGroup^ ag
)
new :
ag:AvailabilityGroup -> AvailabilityGroupState
public function AvailabilityGroupState(
ag : AvailabilityGroup
)
Parâmetros
- ag
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The availability group.