Поделиться через


Свойство Parent

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

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As JobServer
    Get
    Set
'Применение
Dim instance As Alert
Dim value As JobServer

value = instance.Parent

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

Значение свойства

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