Edit

Share via


Instrumentation.Revoke(Object) Method

Definition

Makes an instance that was previously published through the Publish(Object) method no longer visible through management instrumentation.

public:
 static void Revoke(System::Object ^ instanceData);
public static void Revoke (object instanceData);
static member Revoke : obj -> unit
Public Shared Sub Revoke (instanceData As Object)

Parameters

instanceData
Object

The object to remove from visibility for management instrumentation.

Remarks

.NET Framework Security

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.

Applies to