DBLibServerSeverity (Property)

Applies To:

Connection object, MetaDataConnection object

Description:

DB-Lib Only. The DBLibServerSeverity (Property) enables you to changes the error level severity on the server.

Note:

Do not use DBLibServerSeverity in Interactive Reporting documents to be deployed in the EPM Workspace.

Action:

Read-write, Numeric

Example:

This example shows how to create a connection (OCE) using JavaScript:

var myCon
myCon = Application.CreateConnection()
myCon.Api = bqApiOpenClient
myCon.Database = bqDatabaseSQLServer
myCon.HostName ="PlutoSQLSVR"
myCon.DBLibServerSeverity = 2
myCon.SaveAs("d:\\OCEs\\PlutoSQL.oce")

//Now use this connection in a data model
ActiveDocument.Sections["Query"].DataModel.Connection.Open
("d:\\OCEs\\PlutoSQL.oce")