Share via


TraceReplayOptions.KeepResults Property

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

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public Property KeepResults As Boolean 
    Get 
    Set
'Usage
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)

Property Value

Type: 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.

Examples

Readme_Tracer

See Also

Reference

TraceReplayOptions Class

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions