    LogFile         = GetTempFileName("txt");
    LoggingSettings = OPI_MSSQL.GetLoggingSettings(True, 100, LogFile);

    Address  = "127.0.0.1";
    Login    = "SA";
    Password = "12we...";

    ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password);
    TLSSettings      = OPI_MSSQL.GetTLSSettings(True);

    Connection = OPI_MSSQL.CreateConnection(ConnectionString, TLSSettings, LoggingSettings);

    If Not OPI_MSSQL.IsConnector(Connection) Then
        Raise OPI_Tools.JSONString(Connection);
    EndIf;

    Result = OPI_MSSQL.ExecuteSQLQuery("SELECT 1 AS n", , , Connection);

    Result = OPI_MSSQL.GetLog(Connection);