AvailabilityGroupCollection.Remove Method (AvailabilityGroup)
Removes the specified availability group from the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub Remove ( _
availabilityGroup As AvailabilityGroup _
)
'Kullanım
Dim instance As AvailabilityGroupCollection
Dim availabilityGroup As AvailabilityGroup
instance.Remove(availabilityGroup)
public void Remove(
AvailabilityGroup availabilityGroup
)
public:
void Remove(
AvailabilityGroup^ availabilityGroup
)
member Remove :
availabilityGroup:AvailabilityGroup -> unit
public function Remove(
availabilityGroup : AvailabilityGroup
)
Parameters
- availabilityGroup
Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The specified availability group to be removed from the collection.