Specifies the database connection information required to connect to a named database. The object does not connect to the database.
Use the PSConnectionParmsClass object to set up a database connection to a database that does not have a named connection.
You cannot use PSNamedConnectionParmsClass objects with JSP targets.
PSNamedConnectionParmsClass(connectionName)
PSNamedConnectionParmsClass constructor |
Datatype |
Description |
---|---|---|
connectionName |
String |
The name of a named database connection |
The following example creates the new object, ConnParmNamed, that defines a connection to a database named "mydb":
Var connParmNamed = new PSNamedConnectionParmsClass(mydb)