Método Unpack
Desempacota um tipo de DAC na pasta especificada.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (em Microsoft.SqlServer.Management.Dac.dll)
Sintaxe
'Declaração
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
- dacType
Tipo: Microsoft.SqlServer.Management.Dac. . :: . .DacType
Um objeto DacType que especifica o tipo de DAC a descompactado.
- directoryPath
Tipo: System. . :: . .String
Um valor String que especifica o caminho da pasta na qual o tipo de DAC deve ser descompactado.
Comentários
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.