ITargetInfo::GetProperty method

Gets a property value for the offline installation location.

Syntax

HRESULT GetProperty(
  BOOL        Offline,
  const WCHAR *Property,
  BSTR        *Value
);

Parameters

Offline

True if the installation location is offline.

Property

The name of the property.

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