1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-07 07:10:01 +02:00
OpenIntegrations/docs/en/examples/PostgreSQL/DisableAllDatabaseConnections.txt

13 lines
581 B
Plaintext
Raw Normal View History

2025-02-15 13:38:30 +03:00
 Address = "93.125.42.204";
2025-02-14 23:21:49 +03:00
Login = "bayselonarrend";
Password = "12we...";
Base = "testbase1";
2025-02-15 22:58:22 +03:00
ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password);
2025-02-14 23:21:49 +03:00
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_PostgreSQL.DisableAllDatabaseConnections(Base, ConnectionString);