IServerSetupFacet.AgentDomainGroup Property

Gets the domain group that is associated with the SQL Server Agent

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

Syntax

'Declaration
<DisplayNameKeyAttribute("JobServer_AgentDomainGroupName")> _
<DisplayDescriptionKeyAttribute("JobServer_AgentDomainGroupDesc")> _
ReadOnly Property AgentDomainGroup As String
    Get
'Usage
Dim instance As IServerSetupFacet
Dim value As String

value = instance.AgentDomainGroup
[DisplayNameKeyAttribute("JobServer_AgentDomainGroupName")]
[DisplayDescriptionKeyAttribute("JobServer_AgentDomainGroupDesc")]
string AgentDomainGroup { get; }
[DisplayNameKeyAttribute(L"JobServer_AgentDomainGroupName")]
[DisplayDescriptionKeyAttribute(L"JobServer_AgentDomainGroupDesc")]
property String^ AgentDomainGroup {
    String^ get ();
}
[<DisplayNameKeyAttribute("JobServer_AgentDomainGroupName")>]
[<DisplayDescriptionKeyAttribute("JobServer_AgentDomainGroupDesc")>]
abstract AgentDomainGroup : string
function get AgentDomainGroup () : String

Property Value

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