SqlLogin%
Allocates a login record for use with SqlOpen%.
Syntax
SqlLogin% ( )
Returns
The identifier of a login record. If the login record cannot be allocated, 0 is returned.
Important Do not modify this identifier in any way. Modifying the identifier can cause unpredictable results.
Remarks
Your program can use the following functions to supply the components of a login record:
-
SqlSetLUser% supplies the login ID.
-
SqlSetLPwd% supplies the user's password. The password is required only if the user has a password on SQL Server.
-
SqlSetLHost% supplies the workstation name.
-
SqlSetLApp% supplies the application name.
-
SqlSetLNatLang% supplies the national language.
-
SqlSetLPacket% supplies the TDS packet size.
-
SqlSetLSecure% requests a secure connection.
-
SqlSetLVersion% sets DB-Library 6.0 behavior.
-
SqlBCPSetL% enables bulk copy operations.
See Also
SqlBCPSetL%, SqlFreeLogin, SqlOpen%, SqlSetLApp%, SqlSetLHost%, SqlSetLPacket%, SqlSetLPwd%, SqlSetLSecure%, SqlSetLUser%, SqlSetLVersion%