PackageOptions Class

Defines advanced options and additional artifacts for package creation.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dac.PackageOptions

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public NotInheritable Class PackageOptions
'Usage
Dim instance As PackageOptions
public sealed class PackageOptions
public ref class PackageOptions sealed
[<SealedAttribute>]
type PackageOptions =  class end
public final class PackageOptions

The PackageOptions type exposes the following members.

Constructors

  Name Description
Public method PackageOptions Creates a new instance of the PackageOptions class defining advanced options and additional artifacts for package creation.

Top

Properties

  Name Description
Public property ContributorArguments Gets or sets the arguments that are passed to the user-defined deployment contributor.
Public property DeploymentContributorConfigurationStreams Gets or sets the list of files that are inputs for custom deployment contributors.
Public property DeploymentContributors List of contributors that are required in order to deploy the .dacpac
Public property RefactorLogPath Path to the file to be added as the refactor log content to the .dacpac
Public property TreatWarningsAsErrors Indicates whether warnings should be treated as errors during model validation

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dac Namespace