Partilhar via


TransSynchronizationAgent.OutputVerboseLevel Property

Gets or sets the amount of information that is logged by the Distribution Agent in the agent output file.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public Overridable Property OutputVerboseLevel As Integer
public virtual int OutputVerboseLevel { get; set; }
public:
virtual property int OutputVerboseLevel {
    int get ();
    void set (int newValue);
}
/** @property */
public int get_OutputVerboseLevel ()

/** @property */
public void set_OutputVerboseLevel (int newValue)
public function get OutputVerboseLevel () : int

public function set OutputVerboseLevel (newValue : int)

Property Value

An Int32 value that can be one of the following values.

Value

Description

0

Only error messages are printed.

1

All the progress report messages are printed.

2 (default)

All error messages and progress report messages are printed. This is useful for debugging.

Remarks

The agent writes output to the file that is specified by the Output property. If the file name is not provided, the output is sent to the console. If the specified file name exists, the output is appended to the file.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TransSynchronizationAgent Class
TransSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace