共用方式為


ShouldProcessParameters Class

Definition

The declaration of parameters for the ShouldProcess mechanisms. -Whatif, and -Confirm.

public ref class ShouldProcessParameters sealed
public sealed class ShouldProcessParameters
type ShouldProcessParameters = class
Public NotInheritable Class ShouldProcessParameters
Inheritance
ShouldProcessParameters

Properties

Confirm

Gets or sets the value of the -Confirm parameter for all cmdlets.

WhatIf

Gets or sets the value of the -Whatif parameter for all cmdlets.

Applies to