Udostępnij przez


RegisteredServer.LoginSecure Property

Gets or sets the Boolean property value that specifies whether the connection is authenticated by Windows authentication.

Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in microsoft.sqlserver.smoextended.dll)

Syntax

'Deklaracja
Public Property LoginSecure As Boolean
public bool LoginSecure { get; set; }
public:
property bool LoginSecure {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_LoginSecure ()

/** @property */
public void set_LoginSecure (boolean value)
public function get LoginSecure () : boolean

public function set LoginSecure (value : boolean)

Property Value

A Boolean value that specifies whether the connection is authenticated by Windows authentication or not. If True (default), the connection is authenticated by Windows authentication. If False, the connection is authenticated by using SQL Server standard authentication.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.