LoginSecure Property (SQL-DMO)

The LoginSecure property directs authentication mode use when the application attempts to use the Connect method of a SQLServer object to connect to a server.

Applies To

SQLServer Object

Syntax

object.LoginSecure [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

If True, an attempt to connect to the SQLServer object uses Windows NT Authentication Mode.

If False, an attempt to connect the SQLServer object uses SQL Server Authentication. The Login and Password properties are used to specify authentication information.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetLoginSecure(LPBOOL pRetVal);

HRESULT SetLoginSecure(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.