AlertSystem 类
The AlertSystem class contains system information pertaining to all alerts defined on the instance of Microsoft SQL Server.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .NamedSmoObject
Microsoft.SqlServer.Management.Smo.Agent. . :: . .AgentObjectBase
Microsoft.SqlServer.Management.Smo.Agent..::..AlertSystem
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public NotInheritable Class AlertSystem _
Inherits AgentObjectBase _
Implements IAlterable, IScriptable
用法
Dim instance As AlertSystem
public sealed class AlertSystem : AgentObjectBase,
IAlterable, IScriptable
public ref class AlertSystem sealed : public AgentObjectBase,
IAlterable, IScriptable
[<SealedAttribute>]
type AlertSystem =
class
inherit AgentObjectBase
interface IAlterable
interface IScriptable
end
public final class AlertSystem extends AgentObjectBase implements IAlterable, IScriptable
AlertSystem 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (从 SqlSmoObject 继承。) | |
FailSafeEmailAddress | Gets or sets an e-mail address to notify when no operator is defined or available on alert notification. | |
FailSafeNetSendAddress | Gets or sets a net send address to notify when no operator is defined or available on alert notification. | |
FailSafeOperator | Gets or sets the operator to notify when no other operator is defined or available on the alert notification. | |
FailSafePagerAddress | Gets or sets a pager address to notify when no operator is defined or available on alert notification. | |
ForwardingServer | Gets or sets the instance of Microsoft SQL Server that will receive forwarded events. | |
ForwardingSeverity | Gets or sets the minimum severity level of error event that is to be forwarded to another instance of SQL Server. | |
IsForwardedAlways | Gets or sets the Boolean property value that specifies whether all events are forwarded to the forwarding server or only those that have no event notification defined on the current instance of SQL Server. | |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (从 SqlSmoObject 继承。) | |
Name | Gets or sets the name of the object. (从 NamedSmoObject 继承。) | |
NotificationMethod | Gets or sets the notification method used to notify the fail-safe operator. | |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (从 SqlSmoObject 继承。) | |
PagerCCTemplate | Gets or sets the template text sent in the e-mail Cc: line in the e-mail sent by SQL Server Agent for pager notifications. | |
PagerSendSubjectOnly | Gets or sets the Boolean property value that specifies whether to include the e-mail Message: text in the e-mail sent by SQL Server Agent for pager notifications. | |
PagerSubjectTemplate | Gets or sets the template text sent in the e-mail Subject: line in the e-mail sent by SQL Server Agent for pager notifications. | |
PagerToTemplate | Gets or sets the template text sent in the e-mail To: line in the e-mail sent by SQL Server Agent for pager notifications. | |
Parent | Gets the JobServer object value that is the parent of the AlertSystem object. | |
Properties | Gets a collection of Property objects that represent the object properties. (从 SqlSmoObject 继承。) | |
ScalarResult | Gets the scalar result for the referenced object. (从 SqlSmoObject 继承。) | |
State | Gets the state of the referenced object. (从 SmoObjectBase 继承。) | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (从 SqlSmoObject 继承。) | |
UserData | Gets or sets user-defined data associated with the referenced object. (从 SmoObjectBase 继承。) |
页首
方法
页首
显式接口实现
名称 | 说明 | |
---|---|---|
IAlienObjectDiscover | (从 SqlSmoObject 继承。) | |
IAlienObjectGetParent | (从 SqlSmoObject 继承。) | |
IAlienObjectGetProperty | (从 SqlSmoObject 继承。) | |
ISfcPropertyProviderGetPropertySet | (从 SqlSmoObject 继承。) | |
IAlienObjectGetUrn | (从 SqlSmoObject 继承。) | |
IAlienObjectResolve | (从 SqlSmoObject 继承。) | |
IAlienObjectSetProperty | (从 SqlSmoObject 继承。) |
页首
注释
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。