Node . to quickly modify the connection string , edit the 若要快速修改連接字符串,請編輯connectionstring屬性。
Values you can use to adjust connection pooling behavior 下表描述了可用于調(diào)整連接池行為的connectionstring值。
This example assumes a reference to system . data . common 連接數(shù)據(jù)源所需的連接字符串作為connectionstring鍵的值提供。
Property expression for the connectionstring property of a flat file connection manager 平面文件連接管理器connectionstring屬性的屬性表達式
Transparent redirection only works for connections that explicitly specify the initial catalog or database name in the 透明重定向只適用于在connectionstring中顯式指定初始編錄或數(shù)據(jù)庫名稱的連接。
If the client receives failover information on a connection that doesn t have an explicitly specified initial catalog or database , the failover information is not cached and the application does not attempt to fail over in if the principal server fails . if a 如果connectionstring指定了故障轉(zhuǎn)移合作伙伴的值但是沒有指定初始編錄或數(shù)據(jù)庫的值,在使用該字符串設(shè)置sqlconnection對象的connectionstring屬性時,或者將該字符串傳遞給sqlconnection構(gòu)造函數(shù)時, sqlclient將引發(fā)invalidargumentexception 。