Gets or sets the amount of information that is logged by the Distribution Agent in the agent output file.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)
语法
声明
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)
属性值
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. |
备注
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.
线程安全
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 的硬件和软件要求。
请参阅
参考
TransSynchronizationAgent Class
TransSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace