You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
680 B
16 lines
680 B
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- 有关使用 Web.config 转换的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=301874 -->
|
|
|
|
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
|
<!--
|
|
在以下示例中, "SetAttributes" 转换将 "connectionString"
|
|
的值更改为仅在 "Match" 定位器找到具有值 "MyDB" 的
|
|
属性 "name" 时使用 "ReleaseSQLServer"。
|
|
|
|
<connectionStrings>
|
|
<add name="MyDB"
|
|
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
|
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
|
</connectionStrings>
|