Méthode Unpack
Décompresse un type DAC dans le dossier spécifié.
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'Déclaration
Public Shared Sub Unpack ( _
dacType As DacType, _
directoryPath As String _
)
'Utilisation
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
)
Paramètres
- dacType
Type : Microsoft.SqlServer.Management.Dac. . :: . .DacType
Objet DacType qui spécifie le type DAC à décompresser.
- directoryPath
Type : System. . :: . .String
Valeur String qui spécifie le chemin d'accès du dossier dans lequel décompresser le type DAC.
Notes
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.