Partilhar via


Método Compile

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

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (em Microsoft.SqlServer.Management.Dac.dll)

Sintaxe

'Declaração
Public Function Compile As DacCompilationResult
'Uso
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

Valor de retorno

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