LogNameFromSourceName

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TEventLog > Methods >

LogNameFromSourceName

Previous pageReturn to chapter overviewNext page

Gets the name of the log to which the specified source is registered.

 

source - The name of the event source.

machineName - The name of the computer on which to look, or "." for the local computer.

 

Returns: The name of the log associated with the specified source in the registry.

 

LogNameFromSourceName           PROCEDURE(STRING source, <STRING machineName>), STRING