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
public bool FollowRedirects { get; set; }
public:
property bool FollowRedirects {
bool get ();
void set (bool value);
}
member FollowRedirects : bool with get, set
function get FollowRedirects () : boolean
function set FollowRedirects (value : boolean)
Property Value
Type: Boolean
true if redirects are followed; otherwise, false. The default is true.
.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.