Partager via


IResponse::get_Expires

The IResponse::get_Expires method retrieves the current value of the Response.Expires property of the Response object.

HRESULT get_Expires(
      VARIANT* pvarExpiresMinutesRet
);

Parameters

  • pvarExpiresMinutesRet
    [retval] [out] Points to a VARIANT that receives the Expires value. This value specifies the number of minutes until the page will expire.

Remarks

If the user returns to the same page before it expires, the cached version is displayed. If this property is set more than once on a page, the shortest time is used.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also