DBSETLENCRYPT

Description

Specify whether or not network password encryption is to be used when logging into SQL Server version 10.0 or later.

Syntax

RETCODE DBSETLENCRYPT(loginrec, enable)
 
 LOGINREC      *loginrec;
 DBBOOL         enable;

Parameters

loginrec

A pointer to a LOGINREC structure, which will be passed as an argument to dbopen. You can allocate a LOGINREC structure by calling dblogin.

enable

A boolean value ("true" or "false") specifying whether or not the server should request an encrypted password at login time.

Returns

SUCCEED or FAIL.

Usage

See also

dbsechandle