Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The pragma instanceflags preprocessor command controls the way instances are created or updated depending on the flags specified.
The following describes the syntax:
#pragma instanceflags ([Flag])
[Flag] must be one of the following arguments.
| Flag | Description |
|---|---|
| createonly | Prevents the compiler from changing any existing instances in the MOF file. |
| updateonly | Prevents the compiler from creating new instances if an instance specified in the MOF file does not exist. |
Examples
The following example shows how to use this command.
#pragma instanceflags("createonly")
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista |
| Minimum supported server |
Windows Server 2008 |