共用方式為


Siebel 配接器中的 SiebelConnectionStringBuilder 類別

Data Provider for Siebel 提供實 DbConnectionStringBuilder 作,讓 SQL Server Integration Services (SSIS) 和 Visual Studio 總管工具環境,以取得 Data Provider for Siebel 的連接屬性,並以 PropertyGrid 驅動之 GUI 的形式顯示它們。

若要建立 SiebelConnectionStringBuilder,請使用下列方法:

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

或者,只是:

  
SiebelConnectionStringBuilder bldr = new SiebelConnectionStringBuilder();  

若要查看 支援的索引鍵和值, DbConnectionStringBuilder 請參閱 Siebel 連接字串的資料提供者屬性

另請參閱

使用 Siebel 配接器擴充 ADO.NET 介面