Share via


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
<DisplayDescriptionKeyAttribute("JobServer_AgentDomainGroupDesc")> _
<DisplayNameKeyAttribute("JobServer_AgentDomainGroupName")> _
ReadOnly Property AgentDomainGroup As String 
    Get
'Usage
Dim instance As IServerSetupFacet 
Dim value As String 

value = instance.AgentDomainGroup
[DisplayDescriptionKeyAttribute("JobServer_AgentDomainGroupDesc")]
[DisplayNameKeyAttribute("JobServer_AgentDomainGroupName")]
string AgentDomainGroup { get; }
[DisplayDescriptionKeyAttribute(L"JobServer_AgentDomainGroupDesc")]
[DisplayNameKeyAttribute(L"JobServer_AgentDomainGroupName")]
property String^ AgentDomainGroup {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("JobServer_AgentDomainGroupDesc")>]
[<DisplayNameKeyAttribute("JobServer_AgentDomainGroupName")>]
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.

Examples

Setting Properties

See Also

Reference

IServerSetupFacet Interface

Microsoft.SqlServer.Management.Smo Namespace