Метод ServerGroupCollection.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.

Примеры

Использование коллекций

См. также

Справочник

ServerGroupCollection Класс

Пространство имен Microsoft.SqlServer.Management.Smo.RegisteredServers

Другие ресурсы

Использование коллекций