Partager via


Méthode WmiCollectionBase.Remove

Removes the specified object from the referenced collection.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Protected Overridable Sub Remove ( _
    objname As String _
)
'Utilisation
Dim objname As String 

Me.Remove(objname)
protected virtual void Remove(
    string objname
)
protected:
virtual void Remove(
    String^ objname
)
abstract Remove : 
        objname:string -> unit  
override Remove : 
        objname:string -> unit
protected function Remove(
    objname : String
)

Paramètres

  • objname
    Type : System.String
    A String value that specifies the name of the object to remove from the collection.

Exemples

Gestion des services et des paramètres réseau à l'aide du fournisseur WMI

Voir aussi

Référence

WmiCollectionBase Classe

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

Autres ressources

WMI and SQL Server

Connexion au moteur de base de données SQL Server