Aracılığıyla paylaş


AvailabilityGroupCollection.Remove Method (String)

Removes an availability group from the collection with specified name.

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

Syntax

'Bildirim
Public Sub Remove ( _
    name As String _
)
'Kullanım
Dim instance As AvailabilityGroupCollection
Dim name As String

instance.Remove(name)
public void Remove(
    string name
)
public:
void Remove(
    String^ name
)
member Remove : 
        name:string -> unit 
public function Remove(
    name : String
)

Parameters

  • name
    Type: System.String
    The name of the availability group to be removed from the collection.

See Also

Reference

AvailabilityGroupCollection Class

Remove Overload

Microsoft.SqlServer.Management.Smo Namespace