SchemaComparison.SaveToFile(String, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 SchemaComparison 保存为 scmp 文件。
public void SaveToFile(string filePath, bool overwrite = true);
member this.SaveToFile : string * bool -> unit
Public Sub SaveToFile (filePath As String, Optional overwrite As Boolean = true)
参数
- filePath
- String
- overwrite
- Boolean
如果为 true,则会覆盖 filePath 上的任何现有文件。 如果为 false,则如果 filePath 中已存在文件,保存将引发 IOException。