Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestResponse::Server Property

 

Gets the name of the server that sent the response.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public:
property String^ Server {
	String^ get();
	internal: void set(String^ value);
}

Property Value

Type: System::String^

A string that contains the name of the server that sent the response.

Exception Condition
ObjectDisposedException

The current instance has been disposed.

The Server property contains the value of the server header returned with the response.

Return to top
Show: