ITargetInfo::GetProperty method (wcmconfig.h)

Gets a property value for the offline installation location.

Syntax

HRESULT GetProperty(
  [in]  BOOL        Offline,
  [in]  const WCHAR *Property,
  [out] BSTR        *Value
);

Parameters

[in] Offline

True if the installation location is offline.

[in] Property

The name of the property.

[out] Value

The value of the property.

Return value

This method can return one of these values.

Return code Description
S_OK
Indicates success.
S_FALSE
Indicates that the requested property does not exist.
E_OUTOFMEMORY
Indicates that there are insufficient resources to return information to the user.

Requirements

   
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