Freigeben über


WmiCollectionBase.Remove-Methode

Removes the specified object from the referenced collection.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Protected Overridable Sub Remove ( _
    objname As String _
)
'Usage
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
)

Parameter

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

Beispiele

Verwalten von Diensten und Netzwerkeinstellungen durch die Nutzung von WMI-Anbieter

Siehe auch

Verweis

WmiCollectionBase Klasse

Microsoft.SqlServer.Management.Smo.Wmi-Namespace

Andere Ressourcen

WMI and SQL Server

Herstellen einer Verbindung zum SQL Server-Datenbankmodul