IConnectionSecurityContext.WindowsAuthentication 属性

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

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Property WindowsAuthentication As Boolean 
    Get 
    Set
用法
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)

属性值

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

请参阅

参考

IConnectionSecurityContext 接口

Microsoft.SqlServer.Replication 命名空间