WmiCollectionBase.Remove(String) Method

Definition

Removes the specified object from the referenced collection.

protected:
 virtual void Remove(System::String ^ objname);
protected virtual void Remove (string objname);
abstract member Remove : string -> unit
override this.Remove : string -> unit
Protected Overridable Sub Remove (objname As String)

Parameters

objname
String

A String value that specifies the name of the object to remove from the collection.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to