コード例 #1
0
 public SqlConnectionStringBuilder FailoverPartner(String instance)
 {
     SetConfig("#partner.instance", instance);
     failoverPartner = null;
     return this;
 }
コード例 #2
0
 public SqlConnectionStringBuilder FailoverPartner(SqlConnectionStringBuilder builder)
 {
     if (config.ContainsKey("#partner.instance"))
         config.Remove("#partner.instance");
     failoverPartner = builder;
     return this;
 }