AgentCore.HistoryVerboseLevel Property

Gets or sets the amount of history logged during agent execution.

命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

語法

'宣告
Public Property HistoryVerboseLevel As Integer
public int HistoryVerboseLevel { get; set; }
public:
property int HistoryVerboseLevel {
    int get ();
    void set (int value);
}
/** @property */
public int get_HistoryVerboseLevel ()

/** @property */
public void set_HistoryVerboseLevel (int value)
public function get HistoryVerboseLevel () : int

public function set HistoryVerboseLevel (value : int)

屬性值

An Int32 value that can be one of the following:

Value

Description

1

Always update a previous history message of the same status (startup, progress, success, and so on). If no previous record with the same status exists, insert a new record.

2 (default)

Insert new history records unless the record is for such things as idle messages or long-running job messages, in which case update the previous records.

3

Always insert new records, unless it is for idle messages.

備註

You can minimize the effect of history logging on performance by specifying a value of 1 for HistoryVerboseLevel.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

AgentCore Class
AgentCore Members
Microsoft.SqlServer.Replication Namespace