Unpack 方法

将 DAC 类型解包到指定的文件夹。

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

语法

声明
Public Shared Sub Unpack ( _
    dacType As DacType, _
    directoryPath As String _
)
用法
Dim dacType As DacType
Dim directoryPath As String

DacType.Unpack(dacType, directoryPath)
public static void Unpack(
    DacType dacType,
    string directoryPath
)
public:
static void Unpack(
    DacType^ dacType, 
    String^ directoryPath
)
static member Unpack : 
        dacType:DacType * 
        directoryPath:string -> unit 
public static function Unpack(
    dacType : DacType, 
    directoryPath : String
)

参数

注释

The contents of the DAC type are unpacked into the specified folder. The items placed in the folder include Transact-SQL scripts specifying the objects defined in the file, and miscellaneous files such as pre- and post-deployment scripts and the .sqlpolicy file for the server selection policy.