Поделиться через


Свойство AgentLogLevel

Gets or sets the type of messages that are logged by SQL Server Agent.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public Property AgentLogLevel As AgentLogLevels
    Get
    Set
'Применение
Dim instance As JobServer
Dim value As AgentLogLevels

value = instance.AgentLogLevel

instance.AgentLogLevel = value
[SfcPropertyAttribute]
public AgentLogLevels AgentLogLevel { get; set; }
[SfcPropertyAttribute]
public:
property AgentLogLevels AgentLogLevel {
    AgentLogLevels get ();
    void set (AgentLogLevels value);
}
[<SfcPropertyAttribute>]
member AgentLogLevel : AgentLogLevels with get, set
function get AgentLogLevel () : AgentLogLevels
function set AgentLogLevel (value : AgentLogLevels)

Значение свойства

Тип Microsoft.SqlServer.Management.Smo.Agent. . :: . .AgentLogLevels
An AgentLogLevels object value that specifies the type of messages that are logged by SQL Server Agent.