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