ShouldProcessReason Enum
Definition
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.
This describes the reason why ShouldProcess returned what it returned. Not all possible reasons are covered.
This enumeration supports a bitwise combination of its member values.
public enum class ShouldProcessReason
[System.Flags]
public enum ShouldProcessReason
[<System.Flags>]
type ShouldProcessReason =
Public Enum ShouldProcessReason
- Inheritance
-
ShouldProcessReason
- Attributes
Fields
None | 0 | none of the reasons below |
WhatIf | 1 | WhatIf behavior was requested. In the host, WhatIf behavior can be requested explicitly for one cmdlet instance using the -WhatIf commandline parameter, or implicitly for all SupportsShouldProcess cmdlets with $WhatIfPreference. Other hosts may have other ways to request WhatIf behavior. |