共用方式為


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 命名空間