AddTransactionCommands Method

The AddTransactionCommands method stores a group of replicated transaction commands. If the StartTransaction method is not called prior to 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

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.