言語

InstrumentationManager.RegisterType(Type) メソッド

定義

WMI インフラストラクチャにクラスを登録します。

public:
 static void RegisterType(Type ^ managementType);
public static void RegisterType(Type managementType);
static member RegisterType : Type -> unit
Public Shared Sub RegisterType (managementType As Type)

パラメーター

managementType
Type

クラスの型。

static int Main(string[] args)
{
   InstrumentationManager.RegisterType(typeof(MySampleProvider));
   return 0;
}

適用対象