Свойство ServiceAccount
Gets the account under which the SQL Server Agent service runs
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceAccount As String
Get
'Применение
Dim instance As JobServer
Dim value As String
value = instance.ServiceAccount
[SfcPropertyAttribute]
public string ServiceAccount { get; }
[SfcPropertyAttribute]
public:
property String^ ServiceAccount {
String^ get ();
}
[<SfcPropertyAttribute>]
member ServiceAccount : string
function get ServiceAccount () : String
Значение свойства
Тип System. . :: . .String
A String value that specifies the account under which the SQL Server Agent service runs.