Partilhar via


TraceReplayOptions.NumberOfReplayThreads Property

Gets or sets the number of threads used when replaying the trace.

Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Declaration
Public Property NumberOfReplayThreads As Integer
public int NumberOfReplayThreads { get; set; }
public:
property int NumberOfReplayThreads {
    int get ();
    void set (int value);
}
/** @property */
public int get_NumberOfReplayThreads ()

/** @property */
public void set_NumberOfReplayThreads (int value)
public function get NumberOfReplayThreads () : int

public function set NumberOfReplayThreads (value : int)

Property Value

An Int32 value that specifies the number of threads used to replay the trace.

Remarks

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

Example

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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

Other Resources

Trace Flags (Transact-SQL)
Using SQL Server Profiler