TrustedConnection database parameter
Description
Specifies whether the current Windows account credentials
can be used for authentication.
When to specify TrustedConnection
You must specify the TrustedConnection parameter before connecting
to the database.
Controls
-
ADO.NET
-
SNC SQL Native Client for Microsoft SQL Server
Syntax
|
1 |
TrustedConnection=<span>value</span> |
|
Parameter |
Description |
|---|---|
|
value |
Specifies whether the current Windows
|
Default
TrustedConnection=0
Examples
To specify that PowerBuilder should trust the connection:
-
Database profile
Select the Trusted Connection check box on the General page
in the Database Profile Setup dialog box. -
Application
Type the following in code:
1SQLCA.DbParameter="TrustedConnection=1"