Compartilhar via


Propriedade do RDL AuthenticationType

Essa API oferece suporte à infraestrutura do e não se destina a ser usada diretamente no seu código.

Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. 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 (em Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxe

'Declaração
Public Property AuthenticationType As Integer
    Get
    Set
'Uso
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)

Valor da propriedade

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.

Comentários

Quando possível, use a Autenticação do Windows.