EventlogLevel Property (SQL-DMO)

The EventlogLevel property specifies the job completion status that causes an operating system log entry on job completion.

Applies To

Job Object

Syntax

object.EventlogLevel [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Specifies a job completion status

Settings
Value Description
SQLDMOComp_All SQLDMOComp_Always.
SQLDMOComp_Always Log regardless of success or failure.
SQLDMOComp_Failure Log failed job completion.
SQLDMOComp_None Ignore any completion status. Do not log completion.
SQLDMOComp_Success Log successful job completion.

Remarks

Set EventlogLevel to enable operating system log entries for the job.

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetEventlogLevel(SQLDMO_COMPLETION_TYPE* pRetVal);

HRESULT SetEventlogLevel(SQLDMO_COMPLETION_TYPE NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.