SnapshotGenerationAgent.MaxBcpThreads Property

Gets or sets the number of bulk copy operations that can be performed in parallel.

命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

语法

声明
Public Property MaxBcpThreads As Integer
public int MaxBcpThreads { get; set; }
public:
virtual property int MaxBcpThreads {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_MaxBcpThreads ()

/** @property */
public final void set_MaxBcpThreads (int value)
public final function get MaxBcpThreads () : int

public final function set MaxBcpThreads (value : int)

属性值

An Int32 value that represents the number of parallel threads.

备注

The maximum number of threads and ODBC connections that exist simultaneously is the lesser of the value of MaxBcpThreads or the number of bulk copy requests that appear in the synchronization transaction in the distribution database.

The MaxBcpThreads property must have a value greater than 0 and has no hard-coded upper limit.

The default value of MaxBcpThreads is 1.

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

SnapshotGenerationAgent Class
SnapshotGenerationAgent Members
Microsoft.SqlServer.Replication Namespace