Partager via


Méthode ServerGroupCollection.Remove

Removes a ServerGroup object from the ServerGroupCollection object.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Sub Remove ( _
    key As String _
)
'Utilisation
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
)

Paramètres

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

Exemples

Utilisation de collections

Voir aussi

Référence

ServerGroupCollection Classe

Espace de noms Microsoft.SqlServer.Management.Smo.RegisteredServers

Autres ressources

Utilisation de collections