Alert.Parent Property

Gets or sets the JobServer object that is the parent of the Alert object.

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


<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As JobServer
Dim instance As Alert
Dim value As JobServer

value = instance.Parent

instance.Parent = value
public JobServer Parent { get; set; }
property JobServer^ Parent {
    JobServer^ get ();
    void set (JobServer^ value);
member Parent : JobServer with get, set
function get Parent () : JobServer
function set Parent (value : JobServer)

Property Value

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