This topic has not yet been rated - Rate this topic

DacPackage Class

SQL Server 2012

Representation of the artifact that contains the definition of a data-tier application.

System.Object
  Microsoft.SqlServer.Dac.DacPackage

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)
public sealed class DacPackage : IDisposable

The DacPackage type exposes the following members.

  NameDescription
Public propertyDescription Get an optional summary of this package.
Public propertyName Get identifier for this package.
Public propertyPostDeploymentScript Get stream used to read and write script executed after deploying schema contained in this package.
Public propertyPreDeploymentScript Get stream used to read and write script executed prior to deploying schema contained in this package.
Public propertyVersion Get version information for this package.
Top
  NameDescription
Public methodDispose Release the resources held by this instance.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberLoad(Stream) Load a package from the specified Stream.
Public methodStatic memberLoad(String) Load a package file specified by fileName.
Public methodStatic memberLoad(Stream, DacSchemaModelStorageType)Loads a package from the specified Stream.
Public methodStatic memberLoad(String, DacSchemaModelStorageType)Loada a package file specified by fileName.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodUnpack Place the contents of this package into the directory specified by directoryPath.
Top
  NameDescription
Public Extension MethodGetCollationStringGets the collation associated with the specified package. (Defined by DacExtensions.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.