AvailabilityGroupCollection.Remove 方法 (String)

Removes an availability group from the collection with specified name.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Remove ( _
    name As String _
)
用法
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
)

参数

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

请参阅

参考

AvailabilityGroupCollection 类

Remove 重载

Microsoft.SqlServer.Management.Smo 命名空间