Compartir a través de


Unpack Método

Desempaqueta un tipo de DAC en la carpeta especificada.

Espacio de nombres:  Microsoft.SqlServer.Management.Dac
Ensamblado:  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Sintaxis

'Declaración
Public Shared Sub Unpack ( _
    dacType As DacType, _
    directoryPath As String _
)
'Uso
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
)

Parámetros

  • directoryPath
    Tipo: System. . :: . .String
    Valor String que especifica la ruta de acceso a la carpeta en la que se va a desempaquetar el tipo de DAC.

Comentarios

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.