다음을 통해 공유


HistoryVerboseLevel 속성

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication.dll의 Microsoft.SqlServer.Replication

구문

‘선언
Public Property HistoryVerboseLevel As Integer
    Get
    Set
‘사용 방법
Dim instance As AgentCore
Dim value As Integer

value = instance.HistoryVerboseLevel

instance.HistoryVerboseLevel = value
public int HistoryVerboseLevel { get; set; }
public:
property int HistoryVerboseLevel {
    int get ();
    void set (int value);
}
member HistoryVerboseLevel : int with get, set
function get HistoryVerboseLevel () : int
function set HistoryVerboseLevel (value : int)

속성 값

형식: System. . :: . .Int32
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.