Connection string options can be defined directly in a connection string, or set in the Advanced Properties dialog box in Visual Studio (see “Defining Connection String Values in Server Explorer”.Table 5-1, “Default Values for DB2 Connection String Options” lists the options and their defaults. The options are described fully in “DB2 Data Provider Connection String Options”.option=valueSee “Using Connection Strings” for guidelines for the syntax and use of connection string options.See “Creating a New Connection in Server Explorer” for more information about using Visual Studio to add and modify connections.
1 Right-click the Data Connections node and select Add Connection.... The Add Connection window appears.
■
a In the Data source list box, select Progress DataDirect.
c If you want to use these selections for other connections, select the Always use this selection check box.
d If the DataDirect Connect for ADO.NET DB2 data provider is not listed in the Data provider drop-down list, use the Visual Studio Provider Integration Tool, located in the DataDirect Connect for ADO.NET program group. The DataDirect Connect for ADO.NET installation automatically integrates the data providers into Visual Studio. If you install the data providers before installing Visual Studio, or uninstall and reinstall Visual Studio, the DataDirect data providers do not appear in the Data provider drop-down list until you use the Visual Studio Provider Integration Tool.
e Click OK. The Add Connection window appears.
3 Type values for the host name, port number, database, and collection. (See “DB2 Data Provider Connection String Options” for a description of the Host, Port, Database, and Package Collection connection string options.
■ If you select Use Kerberos Authentication, you do not need to enter a User ID or Password. Continue to Step 5.
■ If you select Use DB2 Authentication, do the following steps:
5
6 If you want to change other connection properties, continue to Step 7. Otherwise, click OK and skip to Step 9.
7 Click Advanced... to specify additional provider-specific property values. The Advanced Properties window appears.
9 Click Test Connection. At any point during the configuration process, you can click Test Connection to attempt to connect to the data source using the connection properties specified in the Add Connection window.Then, take one of the following actions:
■ If the data provider can connect, it releases the connection and displays a Test connection succeeded message. Click OK to close the message box and return to the Add Connection window.
■ If the data provider cannot connect because of an incorrect environment or incorrect connection value, it displays an appropriate error message. Click OK to close the message dialog box and return to the Add Connection window.
■ If the data provider requires more information, the connection dialog box is displayed. Enter the required information and click OK to close the connection dialog box and return to the Add Connection window.
10 Click OK or Cancel to close the Add Connection window. If you click OK, the values you have specified become the defaults when you connect to the data source. You can change these defaults by using this procedure to reconfigure your data source. You can override these defaults by connecting to the data source using a connection string with alternate values.The connection string options are described in “DB2 Data Provider Connection String Options”. Table 5-1 lists the supported connection string options and their default values.
0x7F or All except IgnoreUserPermissions