Remove 方法
Removes a ServerGroup object from the ServerGroupCollection object.
命名空間: Microsoft.SqlServer.Management.Smo.RegisteredServers
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
Public Sub Remove ( _
key As String _
)
'用途
Dim instance As ServerGroupCollection
Dim key As String
instance.Remove(key)
public void Remove(
string key
)
public:
void Remove(
String^ key
)
member Remove :
key:string -> unit
public function Remove(
key : String
)
參數
- key
型別:System. . :: . .String
A String value that specifies the name of the server group that is to be removed from the collection.