Partager via


Méthode Compile

Compiles a DAC type based on the Transact-SQL scripts, server selection policy, and miscellaneous files specified for the DacCompilationUnit object.

Espace de noms :  Microsoft.SqlServer.Management.Dac
Assembly :  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Syntaxe

'Déclaration
Public Function Compile As DacCompilationResult
'Utilisation
Dim instance As DacCompilationUnit
Dim returnValue As DacCompilationResult

returnValue = instance.Compile()
public DacCompilationResult Compile()
public:
DacCompilationResult^ Compile()
member Compile : unit -> DacCompilationResult 
public function Compile() : DacCompilationResult

Valeur de retour

Type : Microsoft.SqlServer.Management.Dac. . :: . .DacCompilationResult
A DacCompilationResult object reporting the results of the compile operation.