PackageOptions 类
Defines advanced options and additional artifacts for package creation.
继承层次结构
System.Object
Microsoft.SqlServer.Dac.PackageOptions
命名空间: Microsoft.SqlServer.Dac
程序集: Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)
语法
声明
Public NotInheritable Class PackageOptions
用法
Dim instance As PackageOptions
public sealed class PackageOptions
public ref class PackageOptions sealed
[<SealedAttribute>]
type PackageOptions = class end
public final class PackageOptions
PackageOptions 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
PackageOptions | Creates a new instance of the PackageOptions class defining advanced options and additional artifacts for package creation. |
页首
属性
名称 | 说明 | |
---|---|---|
ContributorArguments | Gets or sets the arguments that are passed to the user-defined deployment contributor. | |
DeploymentContributorConfigurationStreams | Gets or sets the list of files that are inputs for custom deployment contributors. | |
DeploymentContributors | List of contributors that are required in order to deploy the .dacpac | |
RefactorLogPath | Path to the file to be added as the refactor log content to the .dacpac | |
TreatWarningsAsErrors | Indicates whether warnings should be treated as errors during model validation |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。