IAutomaticUpdatesResults::LastSearchSuccessDate property

Gets the last time and Coordinated Universal Time (UTC) date when AutomaticUpdates successfully searched for updates.

This property is read-only.

Syntax

HRESULT get_LastSearchSuccessDate(
  [out] VARIANT retval
);

Property value

Returns a VARIANT data type. Returns VT_EMPTY if there is no last successful time and date. Returns VT_DATE if there is a last successful time and date.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

Remarks

Calls to LastSearchSuccessDate by public users do not update this property. Only the AutomaticUpdates object will update this property.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IAutomaticUpdatesResults