共用方式為


TransSynchronizationAgent.MaxDeliveredTransactions 屬性

Gets or sets the maximum number of transactions that are applied to the Subscriber during a single agent execution.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property MaxDeliveredTransactions As Integer 
    Get 
    Set
'用途
Dim instance As TransSynchronizationAgent 
Dim value As Integer 

value = instance.MaxDeliveredTransactions

instance.MaxDeliveredTransactions = value
public virtual int MaxDeliveredTransactions { get; set; }
public:
virtual property int MaxDeliveredTransactions {
    int get ();
    void set (int value);
}
abstract MaxDeliveredTransactions : int with get, set 
override MaxDeliveredTransactions : int with get, set
function get MaxDeliveredTransactions () : int 
function set MaxDeliveredTransactions (value : int)

屬性值

型別:System.Int32
The maximum number of transactions.

實作

ITransSynchronizationAgent.MaxDeliveredTransactions

備註

Set the MaxDeliveredTransactions property when you want to limit the number of transactions replicated to the Subscriber during an agent execution.

The default value of 0 indicates that there is no limit on the number of transactions that can be delivered.

請參閱

參考

TransSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間