语言

PublishOptions.MasterDbScriptPath 属性

定义

用于编写 master 数据库级部署脚本(如果 GenerateDeploymentScript 为 true)的可选路径。 仅当 Azure SQL DB 是目标时,才创建此脚本,因为在该平台上不支持 USE 语句。 它包含必须针对 master 数据库执行的所有操作,例如 Create Database 语句

public string MasterDbScriptPath { get; set; }
member this.MasterDbScriptPath : string with get, set
Public Property MasterDbScriptPath As String

属性值

适用于