IUpdate::Deadline property

Gets the date by which the update must be installed.

This property is read-only.

Syntax


HRESULT get_Deadline(
  [out]  VARIANT *retval
);

Property value

A value that specifies the Coordinated Universal Time (UTC) date and time by which the update must be installed or uninstalled.

Error codes

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

Remarks

In COM, if the update has a deadline, the return value is of type VT_DATE and contains a DATE value that specifies the deadline. Otherwise, the return value is of type VT_EMPTY.

In the Microsoft .NET Framework, the return value is NULL if the update has no deadline.

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

IUpdate

 

 

Community Additions

ADD
Show:
© 2014 Microsoft