PutType Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Describes the possible effects of saving an object to WMI when using Put().

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

type PutType

Member nameDescription
CreateOnly

Creates an object only; does not update an existing object.

None

No change.

UpdateOnly

Updates an existing object only; does not create a new object.

UpdateOrCreate

Saves the object, whether updating an existing object or creating a new object.

.NET Framework
Available since 1.1
Return to top
Show: