共用方式為


IUpdate::LastDeploymentChangeTime property

Gets the last published date of the update, in Coordinated Universal Time (UTC) date and time, on the server that deploys the update.

This property is read-only.

Syntax

HRESULT get_LastDeploymentChangeTime(
  [out] DATE *retval
);

Property value

The published date of the update, in UTC time.

Error codes

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

Remarks

On computers that are running Windows XP, the LastDeploymentChangeTime property retrieves the same date and time that are retrieved by the CreationDate property of the IUpdateApproval interface. The CreationDate property is used on computers that are running Windows Server 2003.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IUpdate