The pragma deleteinstance command deletes an existing instance of a class from the repository.
The following describes the syntax for this command:
InstanceId is a unique identifier of the instance the MOF compiler deletes from the current namespace.
[Flag] must be one of the following arguments.
|fail||Causes the MOF compiler to quit with an error message if the class does not already exist in the repository.|
|nofail||Causes the MOF compiler to continue even if the class does not already exist.|
The following example shows how to use this command.
Minimum supported client
Minimum supported server
|Windows Server 2003|
Build date: 10/15/2013