pragma instanceflags
Collapse the table of content
Expand the table of content

pragma instanceflags

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.

FlagDescription
createonlyPrevents the compiler from changing any existing instances in the MOF file.
updateonlyPrevents 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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

See also

Preprocessor Commands

 

 

Show:
© 2016 Microsoft