IVsaEngine.Compile Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Causes the script engine to compile the existing source state.

Namespace:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (in Microsoft.Vsa.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function Compile As Boolean
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
bool Compile()
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
bool Compile()
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract Compile : unit -> bool
function Compile() : boolean

Return Value

Type: System.Boolean
Returns TRUE on successful compilation, indicating that the Run method can be called on the newly compiled assembly. Returns FALSE if the compilation failed.

See Also

Reference

IVsaEngine Interface

Microsoft.Vsa Namespace