共用方式為


Parent 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Parent As JobServer
    Get
'用途
Dim instance As AlertCategoryCollection
Dim value As JobServer

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobServer
A JobServer object that is the parent of the AlertCategoryCollection object.

範例

使用集合