JobServer.Alerts Property
Represents a collection of Alert objects. Each Alert object represents an alert defined on SQL Server Agent.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Bildirim
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, GetType(Alert))> _
Public ReadOnly Property Alerts As AlertCollection
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, typeof(Alert))]
public AlertCollection Alerts { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny, typeof(Alert))]
public:
property AlertCollection^ Alerts {
AlertCollection^ get ();
}
/** @property */
public AlertCollection get_Alerts ()
public function get Alerts () : AlertCollection
Property Value
An AlertCollection that represents the alerts defined on SQL Server Agent.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.