JobServer.Alerts 属性
Represents a collection of Alert objects. Each Alert object represents an alert defined on SQL Server Agent.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Alert))> _
Public ReadOnly Property Alerts As AlertCollection
Get
用法
Dim instance As JobServer
Dim value As AlertCollection
value = instance.Alerts
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(Alert))]
public AlertCollection Alerts { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(Alert))]
public:
property AlertCollection^ Alerts {
AlertCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(Alert))>]
member Alerts : AlertCollection
function get Alerts () : AlertCollection
属性值
类型:Microsoft.SqlServer.Management.Smo.Agent.AlertCollection
An AlertCollection that represents the alerts defined on SQL Server Agent.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间