Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Public Property Server As String
public string Server { get; internal set; }
public:
property String^ Server {
String^ get ();
internal: void set (String^ value);
}
member Server : string with get, internal set
function get Server () : String
internal function set Server (value : String)
Property Value
Type: String
A string that contains the name of the server that sent the response.
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | The current instance has been disposed. |
Remarks
The Server property contains the value of the server header returned with the response.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace