UIConnectionInfo.AuthenticationType Property

Definition

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.

public:
 property int AuthenticationType { int get(); void set(int value); };
public int AuthenticationType { get; set; }
member this.AuthenticationType : int with get, set
Public Property AuthenticationType As Integer

Property Value

An Int32 value that specifies 1 if the connection dialog should use SQL Server Authentication or 0 if it should use Windows Authentication.

Remarks

When possible, use Windows Authentication.

Applies to