Metodo Unpack
Decomprime il tipo di applicazione livello dati nella cartella specificata.
Spazio dei nomi Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Sintassi
'Dichiarazione
Public Shared Sub Unpack ( _
dacType As DacType, _
directoryPath As String _
)
'Utilizzo
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
)
Parametri
- dacType
Tipo: Microsoft.SqlServer.Management.Dac. . :: . .DacType
Oggetto DacType che specifica il tipo di applicazione livello dati da decomprimere.
- directoryPath
Tipo: System. . :: . .String
Valore String che specifica il percorso della cartella in cui decomprimere il tipo di applicazione livello dati.
Osservazioni
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.