InstrumentationManager.Revoke(Object) 方法
定义
获取当前可用的提供程序的实例,并使其在 WMI 基础结构中不可用。Takes an instance of a currently available provider and makes it unavailable within the WMI infrastructure.
public:
static void Revoke(System::Object ^ obj);
public:
static void Revoke(System::Object ^ value);
public static void Revoke (object obj);
public static void Revoke (object value);
static member Revoke : obj -> unit
static member Revoke : obj -> unit
Public Shared Sub Revoke (obj As Object)
Public Shared Sub Revoke (value As Object)
参数
- objvalue
- Object
用于实现要撤销的提供程序的类的实例。An instance of the class that implements the provider to revoke.