IRepositoryTransaction::SetOption

See Also

Use this method to set one of the transaction options for an open Repository instance. You cannot set a transaction option while a transaction is active.

HRESULT SetOption(
ULONG iOption,
VARIANT sValue

);

Parameters

iOption [in]
The transaction option to set. For a list of valid values and their meanings, see the TransactionFlags Enumeration.

sValue

[in]
The value of the specified transaction option.

Return Value

S_OK

The method completed successfully.

Error

Values

This method failed to complete successfully.