JobServer.AgentDomainGroup Property

Gets the SQL Server Agent domain group.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AgentDomainGroup As String 
    Get
'Usage
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

Property Value

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

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobServer Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

SQL Server Agent Stored Procedures (Transact-SQL)