Condividi tramite


TraceReplay.Source Property

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

Spazio dei nomi: Microsoft.SqlServer.Management.Trace
Assembly : Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Sintassi

'Dichiarazione
Public Property Source As TraceReader
public TraceReader Source { get; set; }
public:
property TraceReader^ Source {
    TraceReader^ get ();
    void set (TraceReader^ value);
}
/** @property */
public TraceReader get_Source ()

/** @property */
public void set_Source (TraceReader value)
public function get Source () : TraceReader

public function set Source (value : TraceReader)

Valore proprietà

A TraceReader object value that specifies the source of the trace.

Osservazioni

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Esempio

Readme_Tracer

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

TraceReplay Class
TraceReplay Members
Microsoft.SqlServer.Management.Trace Namespace

Altre risorse

Flag di traccia (Transact-SQL)
Utilizzo di SQL Server Profiler