语言

UIConnectionInfo.AuthenticationType 属性

定义

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。 获取或设置一个Int32值,指定连接对话框应使用SQL Server认证还是Windows认证。

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

属性值

一个Int32指定1连接对话框应使用SQL Server认证还是0使用Windows认证的值。

注解

请尽可能使用 Windows 身份验证。

适用于