WebTestRequest.FollowRedirects Property

Gets or sets a value that indicates whether to automatically follow redirects.

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

Syntax

'Declaration
Public Property FollowRedirects As Boolean
'Usage
Dim instance As WebTestRequest 
Dim value As Boolean 

value = instance.FollowRedirects

instance.FollowRedirects = value
public bool FollowRedirects { get; set; }
public:
property bool FollowRedirects {
    bool get ();
    void set (bool value);
}
public function get FollowRedirects () : boolean 
public function set FollowRedirects (value : boolean)

Property Value

Type: System.Boolean
true if redirects are followed; otherwise, false. The default is true.

.NET Framework Security

See Also

Reference

WebTestRequest Class

WebTestRequest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace