Share via


AlertSystem.Parent Property

Gets the JobServer object value that is the parent of the AlertSystem object.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As JobServer 
    Get
'Usage
Dim instance As AlertSystem 
Dim value As JobServer 

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public JobServer Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property JobServer^ Parent {
    JobServer^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : JobServer
function get Parent () : JobServer

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.JobServer
A JobServer object value that specifies the parent of the AlertSystem object.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

AlertSystem Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_alert (Transact-SQL)