Partager via


SnapshotGenerationAgent.MaxBcpThreads Property

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

Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntaxe

'Déclaration
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)

Valeur de propriété

An Int32 value that represents the number of parallel threads.

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

SnapshotGenerationAgent Class
SnapshotGenerationAgent Members
Microsoft.SqlServer.Replication Namespace