Share via


MultiServerSqlConnectionInfo.UseWindowsAuthentication Property

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

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Public Property UseWindowsAuthentication As Boolean
    Get
    Set
'Usage
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)

Property Value

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