AvailabilityDatabase.LeaveAvailabilityGroup 方法
Removes the local copy of the database on the availability replica from the availability group.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub LeaveAvailabilityGroup
'用途
Dim instance As AvailabilityDatabase
instance.LeaveAvailabilityGroup()
public void LeaveAvailabilityGroup()
public:
void LeaveAvailabilityGroup()
member LeaveAvailabilityGroup : unit -> unit
public function LeaveAvailabilityGroup()