مشاركة عبر


IVsaEngine.Compile Method

Causes the script engine to compile the existing source state.

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

Syntax

'إقرار
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function Compile As Boolean
'الاستخدام
Dim instance As IVsaEngine
Dim returnValue As Boolean

returnValue = instance.Compile()
[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

IVsaEngine Members

Microsoft.Vsa Namespace