Proprietà AuthenticationType
Questa API supporta l'infrastruttura e non può essere utilizzata direttamente dal codice.
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)
Sintassi
'Dichiarazione
Public Property AuthenticationType As Integer
Get
Set
'Utilizzo
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)
Valore proprietà
Tipo: 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.
Osservazioni
Se possibile, utilizzare l'autenticazione di Windows.
Vedere anche