共用方式為


AgentDomainGroup 屬性

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

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

語法

'宣告
<DisplayNameKeyAttribute("JobServer_AgentDomainGroupName")> _
<DisplayDescriptionKeyAttribute("JobServer_AgentDomainGroupDesc")> _
ReadOnly Property AgentDomainGroup As String
    Get
'用途
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

屬性值

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

範例

設定屬性