JobStepFlags Enumeration

The JobStepFlags enumeration is a list of constant values that specify the file to which to append job history information.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

[FlagsAttribute]
public enum JobStepFlags

Member nameDescription
NoneJob history is not appended to a file.
AppendToLogFileJob history is appended to the SQL Server log file.
AppendToJobHistoryJob history is appended to the job history file.
LogToTableWithOverwriteJob history is written to a log table, overwriting prior content.
AppendToTableLogJob history is appended to a log table.
AppendAllCmdExecOutputToJobHistoryAll output is appended to the job history.
ProvideStopProcessEventProvide a process completion event at the end of the job step.

The JobStepFlags enumerated class is served by the JobStepFlags property.

Community Additions

ADD
Show: