Metodo Server.JoinAvailabilityGroup
Indicates a specified object to join the availability group.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub JoinAvailabilityGroup ( _
availabilityGroupName As String _
)
'Utilizzo
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
)
Parametri
- availabilityGroupName
Tipo: System.String
The name of the availability group.