PutType Enumeration

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

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

public enum PutType
public enum PutType
public enum PutType

 Member nameDescription
CreateOnlyCreates an object only; does not update an existing object. 
NoneNo change. 
UpdateOnlyUpdates an existing object only; does not create a new object. 
UpdateOrCreateSaves the object, whether updating an existing object or creating a new object. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions