API Reference
Struct
WritePlan
Describes a planned or executed write for a single expanded target.
Inheritance
- ValueType
- WritePlan
Constructors
public WritePlan(String computer, String path, String name, RegistryValueKind kind, Object oldValue, RegistryValueKind oldKind, Boolean willCreate, Boolean executed, Boolean success, String error) #Initializes a new WritePlan describing an intended or completed registry write.
Parameters
- computer System.String
- path System.String
- name System.String
- kind Microsoft.Win32.RegistryValueKind
- oldValue System.Object
- oldKind Microsoft.Win32.RegistryValueKind
- willCreate System.Boolean
- executed System.Boolean
- success System.Boolean
- error System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object
Properties
public RegistryValueKind Kind { get; set; } #Value kind written.
public Object OldValue { get; set; } #Existing value before write (when available).
public RegistryValueKind OldKind { get; set; } #Existing kind before write.
public Boolean WillCreate { get; set; } #True if the value did not exist before the write.
public Boolean Executed { get; set; } #True if the write was executed (false for WhatIf).
public Boolean Success { get; set; } #True if the write operation succeeded.
public String Error { get; set; } #Error message on failure.