다음을 통해 공유


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.