Delen via


AuthenticationPayloadOption.TryCertificateFirst Property

Gets or sets whether connect should first try the certificate before Windows Authentication.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property TryCertificateFirst As Boolean 
    Get 
    Set
'Usage
Dim instance As AuthenticationPayloadOption 
Dim value As Boolean 

value = instance.TryCertificateFirst

instance.TryCertificateFirst = value
public bool TryCertificateFirst { get; set; }
public:
property bool TryCertificateFirst {
    bool get ();
    void set (bool value);
}
member TryCertificateFirst : bool with get, set
function get TryCertificateFirst () : boolean 
function set TryCertificateFirst (value : boolean)

Property Value

Type: System.Boolean
True if connect should first try certificate and then Windows Authentication; otherwise, false.

See Also

Reference

AuthenticationPayloadOption Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace