Export (0) Print
Expand All

ConnectionSecurityContext.WindowsAuthentication Property

Gets or sets the Boolean property that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication.

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

public bool WindowsAuthentication { get; set; }

Property Value

Type: Boolean
A Boolean value that specifies whether the connection is made by using Windows Authentication or SQL Server Authentication.If the value is true (default), the connection is made by using Windows Authentication.If the value is false, the connection is made by using SQL Server Authentication.

Implements

IConnectionSecurityContext.WindowsAuthentication

When possible, use Windows Authentication.

This namespace, class, or member is supported only in the .NET Framework 2.0.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft