Rediger

Del via


SiebelConnectionStringBuilder class in the Siebel adapter

The Data Provider for Siebel provides a DbConnectionStringBuilder implementation to enable SQL Server Integration Services (SSIS) and Visual Studio explorer tools environments to get the connection properties of the Data Provider for Siebel and display them in the form of a GUI driven by the PropertyGrid.

To create a SiebelConnectionStringBuilder, use the following approach:

  
//In this example, factory is an instance of SiebelClientFactory  
SiebelConnectionStringBuilder bldr = (SiebelConnectionStringBuilder)factory.CreateConnectionStringBuilder();  
bldr.ConnectionString = connstr;  

Or, simply:

  
SiebelConnectionStringBuilder bldr = new SiebelConnectionStringBuilder();  

To see the keys and values supported as part of the DbConnectionStringBuilder, see Data Provider properties for the Siebel Connection String.

See Also

Extend ADO.NET Interfaces with the Siebel adapter