共用方式為


JobServer.AgentDomainGroup 屬性

Gets the SQL Server Agent domain group.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AgentDomainGroup As String 
    Get
'用途
Dim instance As JobServer 
Dim value As String 

value = instance.AgentDomainGroup
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string AgentDomainGroup { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ AgentDomainGroup {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AgentDomainGroup : string
function get AgentDomainGroup () : String

屬性值

型別:System.String
A String value that specifies the SQL Server Agent domain group.

範例

使用 SQL Server Agent 排程自動管理工作

請參閱

參考

JobServer 類別

Microsoft.SqlServer.Management.Smo.Agent 命名空間

其他資源

自動化管理工作 (SQL Server Agent)

SQL Server Agent 預存程序 (Transact-SQL)