次の方法で共有


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
)

パラメーター

  • directoryPath
    型: System. . :: . .String
    DAC 型のアンパック先となるフォルダーのパスを指定する String 値です。

説明

DAC 型の内容は、指定したフォルダーにアンパックされます。フォルダーに配置されたアイテムには、ファイルで定義されたオブジェクトを指定する Transact-SQL スクリプト、配置前や配置後のスクリプトなどのその他のファイル、およびサーバーの選択ポリシーに使用する .sqlpolicy ファイルが含まれます。