ProtectionLevel database parameter
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.

You must specify the ProtectionLevel parameter before connecting
to the database.
Controls
-
OLE DB
Syntax
1 |
ProtectionLevel='<span>value</span>' |
Parameter |
Description |
---|---|
value |
Specifies the level of protection applied
|
Default
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:
1SQLCA.DbParameter=<br>"PROTECTIONLEVEL='DB_PROT_LEVEL_CONNECT'"