AgentServiceAccount 属性
Gets the service account for the SQL Server Agent service.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<DisplayDescriptionKeyAttribute("JobServer_ServiceAccountDesc")> _
<DisplayNameKeyAttribute("JobServer_ServiceAccountName")> _
ReadOnly Property AgentServiceAccount As String
Get
用法
Dim instance As IServerSetupFacet
Dim value As String
value = instance.AgentServiceAccount
[DisplayDescriptionKeyAttribute("JobServer_ServiceAccountDesc")]
[DisplayNameKeyAttribute("JobServer_ServiceAccountName")]
string AgentServiceAccount { get; }
[DisplayDescriptionKeyAttribute(L"JobServer_ServiceAccountDesc")]
[DisplayNameKeyAttribute(L"JobServer_ServiceAccountName")]
property String^ AgentServiceAccount {
String^ get ();
}
[<DisplayDescriptionKeyAttribute("JobServer_ServiceAccountDesc")>]
[<DisplayNameKeyAttribute("JobServer_ServiceAccountName")>]
abstract AgentServiceAccount : string
function get AgentServiceAccount () : String
属性值
类型:System. . :: . .String
A String value that specifies the service account for the SQL Server Agent.