PELogOffServer

Use PELogOffServer to Log off the specified server. Use this call any time you have to log off a specified server.

C Syntax
BOOL CRPE_API PELogOffServer (
        const char FAR *dllName,
        PELogOnInfo FAR *logOnInfo );
Parameters

dllName

Specifies a pointer to the name of the Crystal Reports DLL for the datasource from which you want to log off (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 and PDS*.DLL for SQL/ODBC databases.

logOnInfo

Specifies a pointer to PELogOnInfo.

Returns
Remarks
VB Syntax

VB Sample Code for modifying SQL statements

Declare Function PELogOffServer Lib "crpe32.dll" ( ByVal DLLName As 
String, LogOnInfo As PELogOnInfo ) As Integer
Delphi Syntax

Delphi code for logging on/off a server

function PELogOffServer(
    dllName: PChar;
    var logOnInfo: PELogOnInfo
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com