IRequest::get_ServerVariables

IIS 6.0

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


HRESULT get_ServerVariables(
      IRequestDictionary** ppDictReturn
);

ppDictReturn

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

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.

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

Show: