Table of Contents

Class SqlAlert

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

Represents an alert.

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

Constructors

SqlAlert()

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

public SqlAlert()

Properties

AlertType

Gets or sets the alert type.

public SqlAlertType AlertType { get; set; }

Property Value

SqlAlertType

AlertTypeString

Gets the alert type as a human readable string.

public string AlertTypeString { get; set; }

Property Value

string

DatabaseName

Gets or sets the name of the database to which the alert applies.

public string DatabaseName { get; set; }

Property Value

string

DatabaseNameString

Gets the name of the database to which the alert applies or "all databases".

public string DatabaseNameString { get; set; }

Property Value

string

DelayBetweenResponses

Gets or sets the delay between responses in seconds.

public int DelayBetweenResponses { get; set; }

Property Value

int

EmailNotifications

Gets or sets the names of the operators to notify by email.

public SerializableStringCollection EmailNotifications { get; set; }

Property Value

SerializableStringCollection

ErrorNumber

Gets or sets the error number to which the alert applies.

public int ErrorNumber { get; set; }

Property Value

int

EventDescriptionKeyword

Gets or sets whether to raise an alert when the message contains the specified text.

public string EventDescriptionKeyword { get; set; }

Property Value

string

IncludeEventDescription

Gets or sets the notification methods for which the alert error text should be included.

public SqlAlertNotifyMethods IncludeEventDescription { get; set; }

Property Value

SqlAlertNotifyMethods

IncludeEventDescriptionString

Gets the notification methods for which the alert error text should be included.

public string IncludeEventDescriptionString { get; set; }

Property Value

string

IsEnabled

Gets or sets whether the alert is enabled.

public BooleanOption IsEnabled { get; set; }

Property Value

BooleanOption

JobName

Gets or sets the name of the job to execute.

public string JobName { get; set; }

Property Value

string

Name

Gets or sets the name of the alert.

public string Name { get; set; }

Property Value

string

NetSendNotifications

Gets or sets the names of the operators to notify by net send messages.

public SerializableStringCollection NetSendNotifications { get; set; }

Property Value

SerializableStringCollection

NotificationMessage

Gets or sets the additional notification message to send.

public string NotificationMessage { get; set; }

Property Value

string

PagerNotifications

Gets or sets the names of the operators to notify by pager.

public SerializableStringCollection PagerNotifications { get; set; }

Property Value

SerializableStringCollection

PerformanceCondition

Gets or sets the performance condition to which the alert applies.

public string PerformanceCondition { get; set; }

Property Value

string

Severity

Gets or sets the severity to which the alert applies.

public int Severity { get; set; }

Property Value

int

WmiEventNamespace

Gets or sets the WMI namespace to use for WMI alerts.

public string WmiEventNamespace { get; set; }

Property Value

string

WmiEventQuery

Gets or sets the WMI query to use for WMI alerts.

public string WmiEventQuery { get; set; }

Property Value

string

Methods

Clone()

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

public SqlAlert Clone()

Returns

SqlAlert

A CENTREL.XIA.Configuration.Types.SqlAlert.

CompareTo(SqlAlert)

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

public int CompareTo(SqlAlert other)

Parameters

other SqlAlert

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

Returns

int

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