Share via


Patch.Context 속성

컨텍스트 속성은 이 패치의 컨텍스트를 반환합니다.

이 속성은 읽기 전용입니다.

구문

propVal = Patch.Context

속성 값

설명

이 속성은 다음 값 중 하나를 반환합니다.

Context 의미
MSIINSTALLCONTEXT_USERMANAGED 1 관리되는 컨텍스트에서 패치합니다.
MSIINSTALLCONTEXT_USER 2 관리되지 않는 컨텍스트에서 패치합니다.
MSIINSTALLCONTEXT_MACHINE 4 머신 컨텍스트에서 패치합니다.

 

요구 사항

요구 사항
버전
Windows Server 2012, Windows 8, Windows Server 2008 R2 또는 Windows 7의 Windows Installer 5.0. Windows Server 2008 또는 Windows Vista의 Windows Installer 4.0 또는 Windows Installer 4.5. Windows Server 2003, Windows XP 및 Windows 2000의 Windows Installer 3.0 이상
DLL
Msi.dll
IID
IID_IPatch 000C10A1-0000-0000-C000-000000000046으로 정의됩니다.

추가 정보

Patch 개체

Windows Installer 2.0 이하에서 지원되지 않습니다.