Share via


JobServer.AlertSystem Property

The AlertSystem object stores information that applies to all the alerts defined on SQL Server Agent.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)> _
Public ReadOnly Property AlertSystem As AlertSystem
    Get
'Usage
Dim instance As JobServer
Dim value As AlertSystem

value = instance.AlertSystem
[SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)]
public AlertSystem AlertSystem { get; }
[SfcObjectAttribute(SfcObjectRelationship::Object, SfcObjectCardinality::One)]
public:
property AlertSystem^ AlertSystem {
    AlertSystem^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)>]
member AlertSystem : AlertSystem
function get AlertSystem () : AlertSystem

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.AlertSystem
An AlertSystem object value that stores information about all the alerts defined on SQL Server Agent.