BacPackage 类

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

继承层次结构

System.Object
  Microsoft.SqlServer.Dac.BacPackage

命名空间:  Microsoft.SqlServer.Dac
程序集:  Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)

语法

声明
Public NotInheritable Class BacPackage _
    Implements IDisposable
用法
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

BacPackage 类型公开以下成员。

方法

  名称 说明
公共方法 Dispose Release the resources held by this instance.
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法静态成员 Load(Stream) Load a package from the specified Stream.
公共方法静态成员 Load(String) Load a package file specified by fileName.
公共方法静态成员 Load(Stream, DacSchemaModelStorageType) Loads a package from the specified Stream.
公共方法静态成员 Load(String, DacSchemaModelStorageType) Loads a package file specified by fileName.
公共方法 ToString (从 Object 继承。)
公共方法 Unpack Place the contents of this package into the directory specified by directoryPath.

页首

扩展方法

  名称 说明
公共扩展方法 GetCollationString Gets the collation associated with the specified package. (由 DacExtensions 定义。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dac 命名空间