SourceExists

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TEventLog > Methods >

SourceExists

Previous pageReturn to chapter overviewNext page

Determines whether an event source is registered on a specified computer.

 

source - The name of the event source.

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

 

Returns: true if the event source is registered on the given computer; otherwise, false.

 

SourceExists                   PROCEDURE(STRING source, <STRING machineName>), BOOL