ConnectionSecurityContext.WindowsAuthentication 속성

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Property WindowsAuthentication As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As ConnectionSecurityContext 
Dim value As Boolean 

value = instance.WindowsAuthentication

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

속성 값

유형: System.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.

구현

IConnectionSecurityContext.WindowsAuthentication

주의

가능하면 Windows 인증을 사용하십시오.

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

참고 항목

참조

ConnectionSecurityContext 클래스

Microsoft.SqlServer.Replication 네임스페이스