Table of Contents

Class SqlJob

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a job.

public class SqlJob : BaseTypeSection, IComparable<SqlJob>
Inheritance
SqlJob
Implements

Constructors

SqlJob()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlJob class.

public SqlJob()

Properties

AlertNames

Gets or sets the names of the alerts assigned the job.

public SerializableStringCollection AlertNames { get; set; }

Property Value

SerializableStringCollection

Category

Gets or sets the category of the job.

public string Category { get; set; }

Property Value

string

DateCreated

Gets or sets the date and time the job was created.

public DateTime DateCreated { get; set; }

Property Value

DateTime

DateLastModified

Gets or sets the date and time the job was last modified.

public DateTime DateLastModified { get; set; }

Property Value

DateTime

DeleteAction

Gets or sets when a delete action is performed.

public SqlJobActionLevel DeleteAction { get; set; }

Property Value

SqlJobActionLevel

DeleteActionString

Gets when a delete action is performed.

public string DeleteActionString { get; set; }

Property Value

string

Description

Gets or sets the description of the job.

public string Description { get; set; }

Property Value

string

EmailNotification

Gets or sets when an email notification is sent.

public SqlJobActionLevel EmailNotification { get; set; }

Property Value

SqlJobActionLevel

EmailNotificationOperator

Gets or sets the operator to email.

public string EmailNotificationOperator { get; set; }

Property Value

string

EmailNotificationString

Gets when an email notification is sent.

public string EmailNotificationString { get; set; }

Property Value

string

EventLogAction

Gets or sets when a event log notification is written.

public SqlJobActionLevel EventLogAction { get; set; }

Property Value

SqlJobActionLevel

EventLogActionString

Gets when a event log notification is written.

public string EventLogActionString { get; set; }

Property Value

string

IsEnabled

Gets or sets whether the job is enabled.

public BooleanOption IsEnabled { get; set; }

Property Value

BooleanOption

LastRunDate

Gets or sets the date and time the job was last run.

public DateTime LastRunDate { get; set; }

Property Value

DateTime

Name

Gets or sets the name of the job.

public string Name { get; set; }

Property Value

string

OwnerLoginName

Gets or sets the owner of the job.

public string OwnerLoginName { get; set; }

Property Value

string

PagerNotification

Gets or sets when a pager notification is sent.

public SqlJobActionLevel PagerNotification { get; set; }

Property Value

SqlJobActionLevel

PagerNotificationOperator

Gets or sets the operator to page.

public string PagerNotificationOperator { get; set; }

Property Value

string

PagerNotificationString

Gets when a pager notification is sent.

public string PagerNotificationString { get; set; }

Property Value

string

Schedules

Gets or sets the schedules on which to execute the job.

public SqlJobSchedules Schedules { get; set; }

Property Value

SqlJobSchedules

Steps

Gets or sets the steps configured for this job.

public SqlJobSteps Steps { get; set; }

Property Value

SqlJobSteps

TargetServerNames

Gets or sets the names of the target server which are assigned the job.

public SerializableStringCollection TargetServerNames { get; set; }

Property Value

SerializableStringCollection

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.SqlJob cloned from this object.

public SqlJob Clone()

Returns

SqlJob

A CENTREL.XIA.Configuration.Types.SqlJob.

CompareTo(SqlJob)

Compares two CENTREL.XIA.Configuration.Types.SqlJob objects to allow sorting alphabetically by name.

public int CompareTo(SqlJob other)

Parameters

other SqlJob

The CENTREL.XIA.Configuration.Types.SqlJob to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.SqlJob objects.