共用方式為


AgentLogLevels 列舉型別

The AgentLogLevels enumeration contains values that are used to specify the type of errors or messages that are logged by SQL Server. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

此列舉型別具有允許其成員值之位元組合的 FlagsAttribute 屬性。

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

語法

'宣告
<FlagsAttribute> _
Public Enumeration AgentLogLevels
'用途
Dim instance As AgentLogLevels
[FlagsAttribute]
public enum AgentLogLevels
[FlagsAttribute]
public enum class AgentLogLevels
[<FlagsAttribute>]
type AgentLogLevels
public enum AgentLogLevels

成員

成員名稱 描述
Errors Error messages only.
Warnings Warning messages only.
Informational Informational messages only.
All Errors, informational messages, and warning messages.