InstrumentationManager.RegisterType(Type) Methode

Definitie

Registreert een klasse met de WMI-infrastructuur.

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

Parameters

managementType
Type

Het type klasse.

Voorbeelden

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

Van toepassing op