Udostępnij za pośrednictwem


WebTest.PreAuthenticate Property

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

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

Syntax

'Declaration
Public Property PreAuthenticate As Boolean
'Usage
Dim instance As WebTest 
Dim value As Boolean 

value = instance.PreAuthenticate

instance.PreAuthenticate = value
public bool PreAuthenticate { get; set; }
public:
property bool PreAuthenticate {
    bool get ();
    void set (bool value);
}
public function get PreAuthenticate () : boolean 
public 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

WebTest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace