Bagikan melalui


AlertCollection.Parent Property

Gets the JobServer object that is the parent of the AlertCollection object.

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

Syntax

'Declaration
Public ReadOnly Property Parent As JobServer 
    Get
'Usage
Dim instance As AlertCollection 
Dim value As JobServer 

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

Property Value

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

Remarks

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Using Collections

See Also

Reference

AlertCollection Class

Microsoft.SqlServer.Management.Smo.Agent Namespace