UnRegisterSource Example (Visual J++)

   

This example shows what a call to UnRegisterSource looks like. Refer to ISystemDebugEventInstall Example (Visual J++) to see the constant declarations and object creation code, as well as to see this code in a form you can run with minor modifications.

// Unregister the component.
private static void SampleUnRegisterSource()
   {
      m_ESA.UnRegisterSource( SAMPLE_SOURCE_GUID );
   }