Compartilhar via


Método ServerGroupCollection.Remove

Removes a ServerGroup object from the ServerGroupCollection object.

Namespace:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public Sub Remove ( _
    key As String _
)
'Uso
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
)

Parâmetros

  • key
    Tipo: System.String
    A String value that specifies the name of the server group that is to be removed from the collection.

Exemplos

Usando coleções

Consulte também

Referência

ServerGroupCollection Classe

Namespace Microsoft.SqlServer.Management.Smo.RegisteredServers

Outros recursos

Usando coleções