Share via


TraceReplay.Source Property

Gets or sets the TraceReader object that contains the trace to be replayed.

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

Syntax

'Declaration
Public Property Source As TraceReader 
    Get 
    Set
'Usage
Dim instance As TraceReplay 
Dim value As TraceReader 

value = instance.Source

instance.Source = value
public TraceReader Source { get; set; }
public:
property TraceReader^ Source {
    TraceReader^ get ();
    void set (TraceReader^ value);
}
member Source : TraceReader with get, set
function get Source () : TraceReader 
function set Source (value : TraceReader)

Property Value

Type: Microsoft.SqlServer.Management.Trace.TraceReader
A TraceReader object value that specifies the source of the trace.

Examples

Readme_Tracer

See Also

Reference

TraceReplay Class

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions