InstrumentationManager.RegisterType(Type) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
クラスを 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;
}