AddTransactionCommands Method

Replication Programming

Replication Programming

AddTransactionCommands Method

The AddTransactionCommands method stores a group of replicated transaction commands. If the StartTransaction method is not called before this method, AddTransactionsCommands uses an implicit transaction.

Applies To

DistributionStore Object

Syntax

HRESULT AddTransactionCommands(
ULONG cCommandDescs,
const DISTCOMMANDDESC rgCommandDescs []);

Part Description
cCommandDescs Number of DISTCOMMANDDESC structures in the rgCommandDescs array
rgCommandDescs Array of DISTCOMMANDDESC structures that describe the replicated command

Remarks

The method returns S_OK if it succeeds and DB_E_ERROROCCURRED if it fails.

See Also

DISTCOMMANDDESC Structure