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.
const DISTCOMMANDDESC rgCommandDescs );
|cCommandDescs||Number of DISTCOMMANDDESC structures in the rgCommandDescs array|
|rgCommandDescs||Array of DISTCOMMANDDESC structures that describe the replicated command|
The method returns S_OK if it succeeds and DB_E_ERROROCCURRED if it fails.