IVsaEngine.Compile-Methode
Bewirkt, dass das Skriptmodul den vorhandenen Quellzustand kompiliert.
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
Rückgabewert
Typ: Boolean
Gibt bei erfolgreicher Kompilierung TRUE zurück, wodurch angegeben ist, dass die Run-Methode für die neu kompilierte Assembly aufgerufen werden kann.Gibt FALSE zurück, wenn die Kompilierung fehlgeschlagen ist.