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.