Dela via


WebTest.PreAuthenticate Property

Gets or sets a value that indicates whether to pre-authenticate all requests in the Web performance test.

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

Syntax

'Declaration
Public Property PreAuthenticate As Boolean
public bool PreAuthenticate { get; set; }
public:
property bool PreAuthenticate {
    bool get ();
    void set (bool value);
}
member PreAuthenticate : bool with get, set
function get PreAuthenticate () : boolean
function set PreAuthenticate (value : boolean)

Property Value

Type: System.Boolean
true if all requests are pre-authenticated; otherwise, false. The default value is true.

.NET Framework Security

See Also

Reference

WebTest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace