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)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration JobStepFlags
'Usage
Dim instance As JobStepFlags
[FlagsAttribute]
public enum JobStepFlags
[FlagsAttribute]
public enum class JobStepFlags
[<FlagsAttribute>]
type JobStepFlags
public enum JobStepFlags

Members

Member name Description
None Job history is not appended to a file.
AppendToLogFile Job history is appended to the SQL Server log file.
AppendToJobHistory Job history is appended to the job history file.
LogToTableWithOverwrite Job history is written to a log table, overwriting prior content.
AppendToTableLog Job history is appended to a log table.
AppendAllCmdExecOutputToJobHistory All output is appended to the job history.
ProvideStopProcessEvent Provide a process completion event at the end of the job step.

Remarks

The JobStepFlags enumerated class is served by the JobStepFlags property.