UIConnectionInfo.AuthenticationType Property
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
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.
Namespace: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)
Syntax
'Declaration
Public Property AuthenticationType As Integer
Get
Set
'Usage
Dim instance As UIConnectionInfo
Dim value As Integer
value = instance.AuthenticationType
instance.AuthenticationType = value
public int AuthenticationType { get; set; }
public:
property int AuthenticationType {
int get ();
void set (int value);
}
member AuthenticationType : int with get, set
function get AuthenticationType () : int
function set AuthenticationType (value : int)
Property Value
Type: System.Int32
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.