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.
object.LoginSecure [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | True or False |
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.
Boolean
Read/write
HRESULT GetLoginSecure(LPBOOL pRetVal);
HRESULT SetLoginSecure(BOOL NewValue);