Método Server.JoinAvailabilityGroup
Indicates a specified object to join the availability group.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub JoinAvailabilityGroup ( _
availabilityGroupName As String _
)
'Uso
Dim instance As Server
Dim availabilityGroupName As String
instance.JoinAvailabilityGroup(availabilityGroupName)
public void JoinAvailabilityGroup(
string availabilityGroupName
)
public:
void JoinAvailabilityGroup(
String^ availabilityGroupName
)
member JoinAvailabilityGroup :
availabilityGroupName:string -> unit
public function JoinAvailabilityGroup(
availabilityGroupName : String
)
Parâmetros
- availabilityGroupName
Tipo: System.String
The name of the availability group.