Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PutType Enum

Definition

Namespace:
System.Management
Assembly:
System.Management.dll
Package:
System.Management v11.0.0-preview.5.26302.115
Source:
ManagementOptions.cs
Source:
ManagementOptions.cs
Source:
ManagementOptions.cs
Source:
ManagementOptions.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public enum class PutType
public enum PutType
type PutType = 
Public Enum PutType
Inheritance

Fields

Name Value Description
None 0

No change.

UpdateOnly 1

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

CreateOnly 2

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

UpdateOrCreate 3

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

Applies to


Feedback

Was this page helpful?