Share via


SMOServerConn.UseWindowsAuthentication Property

Definition

Gets or sets a Boolean that indicates if Windows Authentication is used for the connection.

public:
 property bool UseWindowsAuthentication { bool get(); void set(bool value); };
public bool UseWindowsAuthentication { get; set; }
member this.UseWindowsAuthentication : bool with get, set
Public Property UseWindowsAuthentication As Boolean

Property Value

true if Windows Authentication is used in the connection; otherwise, false.

Remarks

This value determines if the user name or password properties are required. A value of true indicates that Windows Authentication is being used, thus a user name and password are not required in the connection.

Applies to