Share via


AvailabilityDatabase.JoinAvailablityGroup Method

Joins the local copy of the database on the instance to the availability group.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub JoinAvailablityGroup
'Usage
Dim instance As AvailabilityDatabase

instance.JoinAvailablityGroup()
public void JoinAvailablityGroup()
public:
void JoinAvailablityGroup()
member JoinAvailablityGroup : unit -> unit
public function JoinAvailablityGroup()

See Also

Reference

AvailabilityDatabase Class

Microsoft.SqlServer.Management.Smo Namespace