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

'Declaration
Public Sub Remove ( _
    availabilityGroup As AvailabilityGroup _
)
'Usage
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

See Also

Reference

AvailabilityGroupCollection Class

Remove Overload

Microsoft.SqlServer.Management.Smo Namespace