共用方式為


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 範本和權限