JobServer.Alerts JobServer.Alerts JobServer.Alerts Property

Definition

Represents a collection of Alert objects. Each Alert object represents an alert defined on SQL Server Agent.

public:
 property Microsoft::SqlServer::Management::Smo::Agent::AlertCollection ^ Alerts { Microsoft::SqlServer::Management::Smo::Agent::AlertCollection ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ObjectContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.Agent.Alert))]
public Microsoft.SqlServer.Management.Smo.Agent.AlertCollection Alerts { get; }
Public ReadOnly Property Alerts As AlertCollection
Property Value

An AlertCollection that represents the alerts defined on SQL Server Agent.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

Applies to