Share via


IConnectionSecurityContext.WindowsAuthentication Property

Gets or sets a value that indicates whether the connection is made by using Windows Authentication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Property WindowsAuthentication As Boolean 
    Get 
    Set
'Usage
Dim instance As IConnectionSecurityContext 
Dim value As Boolean 

value = instance.WindowsAuthentication

instance.WindowsAuthentication = value
bool WindowsAuthentication { get; set; }
property bool WindowsAuthentication {
    bool get ();
    void set (bool value);
}
abstract WindowsAuthentication : bool with get, set
function get WindowsAuthentication () : boolean 
function set WindowsAuthentication (value : boolean)

Property Value

Type: System.Boolean
true if the connection is made by using Windows Authentication; otherwise, false.

See Also

Reference

IConnectionSecurityContext Interface

Microsoft.SqlServer.Replication Namespace