1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/MSSQL/CreateConnection.txt
Vitaly the Alpaca (bot) 3b29c1e324 Main build (Jenkins)
2025-06-25 13:17:23 +03:00

21 lines
629 B
Plaintext
Vendored

Address = "127.0.0.1";
Login = "bayselonarrend";
Password = "12we...";
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password);
Result = OPI_MSSQL.CreateConnection(ConnectionString);
OPI_MSSQL.CloseConnection(Result);
// With TLS
Address = "api.athenaeum.digital";
Port = "1434";
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password, Port);
TLSSettings = OPI_MSSQL.GetTlsSettings(False);
Result = OPI_MSSQL.CreateConnection(ConnectionString, TLSSettings);
OPI_MSSQL.CloseConnection(Result);