LogoffServer

LogoffServer terminates the specified database connection established earlier with the LogonServer.

Syntax

[form.]Report.LogoffServer (connectionId%, boolean allConnections)

For example:

CrystalReport1.LogoffServer (1, False)

«Terminates database connection 1 and only that connection.»

Parameters

connectionId

Integer value that specifies a specific database connection established earlier with LogonServer. If you have set allConnections to True, connectionId should be set to 0.

allConnections

Boolean value that specifies whether or not to terminate ALL database connections that have been established with the LogonServer method.

  • True = Terminate all connections.
  • False = Terminate only the specified connection.



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