Edit

Share via


Instrumentation.IsAssemblyRegistered(Assembly) Method

Definition

Determines if the instrumentation schema of the specified assembly has already been correctly registered with WMI.

public:
 static bool IsAssemblyRegistered(System::Reflection::Assembly ^ assemblyToRegister);
public static bool IsAssemblyRegistered (System.Reflection.Assembly assemblyToRegister);
static member IsAssemblyRegistered : System.Reflection.Assembly -> bool
Public Shared Function IsAssemblyRegistered (assemblyToRegister As Assembly) As Boolean

Parameters

assemblyToRegister
Assembly

The Assembly containing instrumentation instance or event types.

Returns

true if the instrumentation schema in the specified assembly is registered with WMI; otherwise, false.

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