Upravit

Sdílet prostřednictvím


Creating an Instance

An instance is a case of a class that describes a particular object on your enterprise. For example, if you have two CD-ROM drives in a desktop platform, you could use two instances of the Win32_CDROMDrive class to describe both of them. Because an instance represents a real property of your enterprise, you are most likely to create more instances than classes. Each class that an instance is created from has one or more key properties. You cannot create an instance with more than 256 keys.

For more information about creating instances, see the following topics:

Designing Managed Object Format (MOF) Classes