Добро пожаловать в форум, Guest  >>   Войти | Регистрация | Поиск | Правила | В избранное | Подписаться
Все форумы / Microsoft SQL Server Новый топик    Ответить
 Какую DLL использовать?  [new]
gean
Member

Откуда:
Сообщений: 82
Имеется функция, аргументы которой понятно какие должны быть за исключением первого(pDllName). Используется соеденение через клиента. MS SQL Server 7. Кто подскажет?

//Функция
LogOnServer Method (Database Object)

The LogOnServer Method logs on to an SQL server or ODBC data source. Once logged on using this method, you will remain logged on until you call LogOffServer or until the Database Object is destroyed. This method can be invoked only in formatting Idle mode.

Syntax

[form]Object.logOnServer pDllName, pServerName[, pDatabaseName ][, pUserID ][, pPassword ]

Parameters

DLLName - Specifies the name of the DLL for the server or password protected non-SQL table you want to log on to, for example "PDSODBC.DLL". Note that the dllName must be enclosed in quotes. DLL names have the following naming convention: PDB*.DLL for standard (non-SQL) databases, PDS*.DLL for SQL/ODBC databases. Specifies the name of the DLL for the server or password protected non-SQL table you want to log on to, for example "PDSODBC.DLL". Note that the dllName must be enclosed in quotes. DLL names have the following naming convention: PDB*.DLL for standard (non-SQL) databases, PDS*.DLL for SQL/ODBC databases.
ServerName - Specifies the log on name for the server used to create the report.* (For ODBC, use the data source name.) This value is case-sensitive.
DatabaseName (Optional) - Specifies the name for the database used to create the report.*
UserID (Optional) - Specifies the User ID number necessary to log on to the server.*
Password (Optional) - Specifies the password necessary to log on to the server.
2 ноя 04, 15:14    [1078101]     Ответить | Цитировать Сообщить модератору
Все форумы / Microsoft SQL Server Ответить