IVsaEngine.Compile (Método)

Hace que el motor de scripts compile el estado de origen existente.

Espacio de nombres:  Microsoft.Vsa
Ensamblado:  Microsoft.Vsa (en Microsoft.Vsa.dll)

Sintaxis

'Declaración
<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

Valor devuelto

Tipo: Boolean
Devuelve TRUE si la compilación se realizó correctamente e indica que se puede llamar al método Run en el ensamblado recién compilado.Devuelve FALSE si la compilación no se pudo realizar.

Vea también

Referencia

IVsaEngine Interfaz

Microsoft.Vsa (Espacio de nombres)