You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
21 lines
672 B
Plaintext
Vendored
21 lines
672 B
Plaintext
Vendored
Address = FunctionParameters["PG_IP"];
|
|
Login = "bayselonarrend";
|
|
Password = FunctionParameters["PG_Password"];
|
|
|
|
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password);
|
|
Result = OPI_MSSQL.CreateConnection(ConnectionString);
|
|
|
|
OPI_MSSQL.CloseConnection(Result);
|
|
|
|
// With TLS
|
|
|
|
Address = FunctionParameters["PG_IP"];
|
|
Port = "1434";
|
|
|
|
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password, Port);
|
|
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
|
|
|
|
Result = OPI_MSSQL.CreateConnection(ConnectionString, TLSSettings);
|
|
|
|
OPI_MSSQL.CloseConnection(Result);
|