UIConnectionInfo.AuthenticationType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请不要在代码中直接引用该成员。 它支持 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 身份验证。