Share via


BacPackage Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dac.BacPackage

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

Syntax

'Declaration
Public NotInheritable Class BacPackage _
    Implements IDisposable
'Usage
Dim instance As BacPackage
public sealed class BacPackage : IDisposable
public ref class BacPackage sealed : IDisposable
[<SealedAttribute>]
type BacPackage =  
    class 
        interface IDisposable 
    end
public final class BacPackage implements IDisposable

The BacPackage type exposes the following members.

Methods

  Name Description
Public method Dispose Release the resources held by this instance.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member Load(Stream) Load a package from the specified Stream.
Public methodStatic member Load(String) Load a package file specified by fileName.
Public methodStatic member Load(Stream, DacSchemaModelStorageType) Loads a package from the specified Stream.
Public methodStatic member Load(String, DacSchemaModelStorageType) Loads a package file specified by fileName.
Public method ToString (Inherited from Object.)
Public method Unpack Place the contents of this package into the directory specified by directoryPath.

Top

Extension Methods

  Name Description
Public Extension Method GetCollationString Gets the collation associated with the specified package. (Defined by DacExtensions.)

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