Gets or sets the authentication type of connection.
If property value is True, then the SQL server authentication will be used.
Namespace: ZsZ_Studio.ControlsAssembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
public bool SqlAuthentication { get; set; }
public bool SqlAuthentication { get; set; }
Public Property SqlAuthentication As Boolean
Get
Set
Public Property SqlAuthentication As Boolean
Get
Set
public:
property bool SqlAuthentication {
bool get ();
void set (bool value);
}
public:
property bool SqlAuthentication {
bool get ();
void set (bool value);
}
Property Value
Type:
Boolean (VB.NET) This sample shows how to set the connection propertys.
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
scc.ServerName = "localhost\SQLEXPRESS"
scc.DatabaseName = "NewDatabase"
scc.SqlAuthentication = True
scc.UserName = "sa"
scc.Password = "pass"
Me.Controls.Add(scc)
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)
scc.ServerName = "localhost\SQLEXPRESS"
scc.DatabaseName = "NewDatabase"
scc.SqlAuthentication = True
scc.UserName = "sa"
scc.Password = "pass"
Me.Controls.Add(scc)