Метод Server.JoinAvailabilityGroup
Indicates a specified object to join the availability group.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub JoinAvailabilityGroup ( _
availabilityGroupName As String _
)
'Применение
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
)
Параметры
- availabilityGroupName
Тип: System.String
The name of the availability group.