DBLibApiSeverity (Property)

Applies To:

Connection object, MetaDataConnection object

Description:

DB-Lib only. The DBLibApiSeverity (Property) enables you to change the API error level severity.

Note:

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

Action:

Read-write, Long

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.DBLibApiSeverity = 2
myCon.SaveAs("d:\\OCEs\\PlutoSQL.oce")

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