Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

HttpWorkerRequest.GetServerVariable Method

Returns a single server variable from a dictionary of server variables associated with the request.

[Visual Basic]
Public Overridable Function GetServerVariable( _
   ByVal name As String _
) As String
[C#]
public virtual string GetServerVariable(
 string name
);
[C++]
public: virtual String* GetServerVariable(
 String* name
);
[JScript]
public function GetServerVariable(
   name : String
) : String;

Parameters

name
The name of the requested server variable.

Return Value

The requested server variable.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

Show:
© 2015 Microsoft