DbSyncProvider.ApplicationTransactionSize Property

Gets or sets the maximum transaction size used during change application, in kilobytes.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property ApplicationTransactionSize As Long
    Get
    Set
'Usage
Dim instance As DbSyncProvider
Dim value As Long

value = instance.ApplicationTransactionSize

instance.ApplicationTransactionSize = value
public long ApplicationTransactionSize { get; set; }
public:
property long long ApplicationTransactionSize {
    long long get ();
    void set (long long value);
}
member ApplicationTransactionSize : int64 with get, set
function get ApplicationTransactionSize () : long
function set ApplicationTransactionSize (value : long)

Property Value

Type: System.Int64
The maximum transaction size used during change application, in kilobytes. The default value is 0, which indicates no limit on the transaction size.

Remarks

On a system that restricts the running time or size of a transaction, such as SQL Azure, setting this property to an appropriate value can help to avoid transaction throttling. Use of this feature may incur a performance penalty, however, so it should only be used when necessary.

See Also

Reference

DbSyncProvider Class

Microsoft.Synchronization.Data Namespace