DacCompilationUnit.Compile Method

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 (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Function Compile As DacCompilationResult
'Usage
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

Return Value

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

See Also

Reference

DacCompilationUnit Class

Microsoft.SqlServer.Management.Dac Namespace