IVsaEngine.Compile 메서드

스크립트 엔진이 기존의 소스 상태를 컴파일하도록 합니다.

네임스페이스:  Microsoft.Vsa
어셈블리:  Microsoft.Vsa(Microsoft.Vsa.dll)

구문

‘선언
<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

반환 값

형식: Boolean
컴파일이 성공하면 TRUE를 반환하여 새로 컴파일된 어셈블리에서 Run 메서드를 호출할 수 있음을 나타냅니다.컴파일이 실패한 경우 FALSE를 반환합니다.

참고 항목

참조

IVsaEngine 인터페이스

Microsoft.Vsa 네임스페이스