Description
Specifies the level of protection applied to data sent between PowerBuilder and the data server through the OLE DB data provider. This parameter applies only to network connections other than Remote Procedure Call (RPC) connections. Similar levels of protection can be specified for authenticated RPC connections.
When to specify ProtectionLevel
You must specify the ProtectionLevel parameter before connecting to the database.
Applies to
OLE DB
Syntax
ProtectionLevel='value'
Parameter |
Description |
---|---|
value |
Specifies the level of protection applied to data sent between PowerBuilder and the data server. Values are:
|
Default value
Not set
Examples
To set a level of protection for the data sent between PowerBuilder and the data server:
-
Database profile
On the Security page in the Database Profile Setup dialog box, select Connect from the Protection Level drop-down list.
-
Application
Type the following in code:
SQLCA.DBParm= "PROTECTIONLEVEL='DB_PROT_LEVEL_CONNECT'"
See also