ITargetInfo::SetTargetMode method (wcmconfig.h)

Sets the target mode.

Syntax

HRESULT SetTargetMode(
  [in] WcmTargetMode TargetMode
);

Parameters

[in] TargetMode

The target mode.

Return value

This method returns an HRESULT value. S_OK indicates success.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wcmconfig.h
DLL SMIEngine.dll

See also

ITargetInfo