ServerTraceEventSet.Eventlog Property
Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when error events are logged in the SQL Server application.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)