You are employed as a developer at ABC.com. ABC.com makes use of SQL Server databases in
their environment.
You have been instructed to create a new windows program for ABC.com. The program must be
able to record messages in the event log. You have decided to include the Source property of the
EventLog class in your code.
Which of the following best describes the purpose of the Source property in the EventLog class?
A.
The Source property is used to set the source name to register and use when writing to the
event log.
B.
The Source property is used to set the object used to marshal the event handler calls issued as
a result of an EventLog entry written event.
C.
The Source property is used to set the name of the log to read from or write to.
D.
The Source property is used to set the contents of the event log.
A.