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
public virtual string GetServerVariable(
 string name
public: virtual String* GetServerVariable(
 String* name
public function GetServerVariable(
   name : String
) : String;


The name of the requested server variable.

Return Value

The requested server variable.


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

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

© 2015 Microsoft