TraceReplayOptions.KeepResults 属性

Gets or sets the Boolean property value that specifies whether to keep the replay results.

命名空间:  Microsoft.SqlServer.Management.Trace
程序集:  Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

语法

声明
Public Property KeepResults As Boolean 
    Get 
    Set
用法
Dim instance As TraceReplayOptions 
Dim value As Boolean 

value = instance.KeepResults

instance.KeepResults = value
public bool KeepResults { get; set; }
public:
property bool KeepResults {
    bool get ();
    void set (bool value);
}
member KeepResults : bool with get, set
function get KeepResults () : boolean 
function set KeepResults (value : boolean)

属性值

类型:System.Boolean
A Boolean value that specifies whether to keep the results.If True, the results are kept.If False (default), the results are not kept.

示例

Readme_Tracer

请参阅

参考

TraceReplayOptions 类

Microsoft.SqlServer.Management.Trace 命名空间

其他资源

跟踪标志 (Transact-SQL)

SQL Server Profiler 模板和权限