Compartilhar via


IRequest::get_ServerVariables

The IRequest::get_ServerVariables method retrieves the Request.ServerVariables Collection collection of the Request Object object.

HRESULT get_ServerVariables(
      IRequestDictionary** ppDictReturn
);

Parameters

  • ppDictReturn
    [retval] [out] Points to an IRequestDictionary interface pointer that receives the ServerVariables collection.

Remarks

You can iterate through the ServerVariables collection with the IRequestDictionary::get__NewEnum, or you can retrieve a specific ServerVariable with the IRequestDictionary::get_Item method.

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