AvailabilityGroupState Constructor
Initializes a new instance of the AvailabilityGroupState class with the specified availability group.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub New ( _
ag As AvailabilityGroup _
)
'Kullanım
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
)
Parameters
- ag
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The availability group.