IReposOptions::SetOption

Meta Data Services Programming

Meta Data Services Programming

IReposOptions::SetOption

Use this method to set the value of an engine's option.

Syntax

HRESULT SetOption(
    BSTR
   OptionName,
    VARIANT    OptionValue
);

Parameters

OptionName

[in]
One of the string identifiers shown in the IReposOptions Options Table. For more information about option values and descriptions, see IRepoOptions Options Table.

OptionValue

[out, retval]
One of the values described in the options table.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

See Also

IReposOptions::GetOption

IReposOptions::ResetOptions