UseWindowsAuthentication 属性

Gets or sets a value indicating whether Windows Integrated Security Authentication will be used.

命名空间:  Microsoft.SqlServer.Management.MultiServerConnection
程序集:  Microsoft.SqlServer.Management.MultiServerConnection(在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)

语法

声明
Public Property UseWindowsAuthentication As Boolean
    Get
    Set
用法
Dim instance As MultiServerSqlConnectionInfo
Dim value As Boolean

value = instance.UseWindowsAuthentication

instance.UseWindowsAuthentication = value
public bool UseWindowsAuthentication { get; set; }
public:
property bool UseWindowsAuthentication {
    bool get ();
    void set (bool value);
}
member UseWindowsAuthentication : bool with get, set
function get UseWindowsAuthentication () : boolean
function set UseWindowsAuthentication (value : boolean)

属性值

类型:System. . :: . .Boolean
True if the Windows Integrated Security Authentication will be used. Otherwise, false.