ManagementObject.Delete Method (ManagementOperationObserver, DeleteOptions)

 

Deletes the object.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

public void Delete(
	ManagementOperationObserver watcher,
	DeleteOptions options
)

Parameters

watcher
Type: System.Management.ManagementOperationObserver

The object that will receive the results of the operation.

options
Type: System.Management.DeleteOptions

The options for how to delete the object.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: