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
DateCreated
Gets or sets the date and time the job was created.
public DateTime DateCreated { get; set; }
Property Value
DateLastModified
Gets or sets the date and time the job was last modified.
public DateTime DateLastModified { get; set; }
Property Value
DeleteAction
Gets or sets when a delete action is performed.
public SqlJobActionLevel DeleteAction { get; set; }
Property Value
DeleteActionString
Gets when a delete action is performed.
public string DeleteActionString { get; set; }
Property Value
Description
Gets or sets the description of the job.
public string Description { get; set; }
Property Value
EmailNotification
Gets or sets when an email notification is sent.
public SqlJobActionLevel EmailNotification { get; set; }
Property Value
EmailNotificationOperator
Gets or sets the operator to email.
public string EmailNotificationOperator { get; set; }
Property Value
EmailNotificationString
Gets when an email notification is sent.
public string EmailNotificationString { get; set; }
Property Value
EventLogAction
Gets or sets when a event log notification is written.
public SqlJobActionLevel EventLogAction { get; set; }
Property Value
EventLogActionString
Gets when a event log notification is written.
public string EventLogActionString { get; set; }
Property Value
IsEnabled
Gets or sets whether the job is enabled.
public BooleanOption IsEnabled { get; set; }
Property Value
LastRunDate
Gets or sets the date and time the job was last run.
public DateTime LastRunDate { get; set; }
Property Value
Name
Gets or sets the name of the job.
public string Name { get; set; }
Property Value
OwnerLoginName
Gets or sets the owner of the job.
public string OwnerLoginName { get; set; }
Property Value
PagerNotification
Gets or sets when a pager notification is sent.
public SqlJobActionLevel PagerNotification { get; set; }
Property Value
PagerNotificationOperator
Gets or sets the operator to page.
public string PagerNotificationOperator { get; set; }
Property Value
PagerNotificationString
Gets when a pager notification is sent.
public string PagerNotificationString { get; set; }
Property Value
Schedules
Gets or sets the schedules on which to execute the job.
public SqlJobSchedules Schedules { get; set; }
Property Value
Steps
Gets or sets the steps configured for this job.
public SqlJobSteps Steps { get; set; }
Property Value
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
SqlJobThe CENTREL.XIA.Configuration.Types.SqlJob to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlJob objects.