EventLogInstaller::CopyFromComponent Method (IComponent^)
Copies the property values of an EventLog component that are required at installation time for an event log.
Assembly: System.Configuration.Install (in System.Configuration.Install.dll)
The component specified by the component parameter must be an EventLog; otherwise, an exception is thrown.
Typically, you do not call the methods of the EventLogInstaller from within your code; they are generally called only by the Installutil.exe (Installer Tool). is used by Installutil.exe to set the property values for the EventLogInstaller to the values of an existing EventLog.
Available since 1.1