1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00
OpenIntegrations/docs/en/examples/PostgreSQL/DisableAllDatabaseConnections.txt
Vitaly the Alpaca (bot) 7e161c3d60 Main build (Jenkins)
2025-02-15 22:58:22 +03:00

13 lines
581 B
Plaintext
Vendored

Address = "93.125.42.204";
Login = "bayselonarrend";
Password = "12we...";
Base = "testbase1";
ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password);
// 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);