RegisteredServer.LoginSecure 属性
Gets or sets the Boolean property value that specifies whether the connection is authenticated by Windows Authentication.
命名空间: Microsoft.SqlServer.Management.Smo.RegisteredServers
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Property LoginSecure As Boolean
Get
Set
用法
Dim instance As RegisteredServer
Dim value As Boolean
value = instance.LoginSecure
instance.LoginSecure = value
public bool LoginSecure { get; set; }
public:
property bool LoginSecure {
bool get ();
void set (bool value);
}
member LoginSecure : bool with get, set
function get LoginSecure () : boolean
function set LoginSecure (value : boolean)
属性值
类型:System.Boolean
A Boolean value that specifies whether the connection is authenticated by Windows Authentication.If True (default), the connection is authenticated by Windows Authentication.If False, the connection is authenticated by using SQL Server standard authentication.
请参阅
参考
Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空间