IRepositoryTransaction::SetOption

Meta Data Services Programming

Meta Data Services Programming

IRepositoryTransaction::SetOption

This method sets one of the transaction options for an open Microsoft® SQL Server™ 2000 Meta Data Services instance. You cannot set a transaction option while a transaction is active.

Syntax

HRESULT SetOption(     ULONG      iOption,
    VARIANT
  sValue
);

Parameters

iOption

[in]
The transaction option to set. For more information about valid values and their meanings, see 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.

See Also

IRepositoryTransaction Interface