AlertCategory.Parent 屬性
Gets the JobServer object that is the parent of the AlertCategory 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 AlertCategory
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 that is the parent of the AlertCategory object.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Agent 命名空間