Dela via


CmdletCommonMetadataAttribute.SupportsShouldProcess Property

Definition

Gets or sets a Boolean value that indicates the Cmdlet supports ShouldProcess. By default the value is false, meaning the cmdlet doesn't support ShouldProcess.

public:
 property bool SupportsShouldProcess { bool get(); void set(bool value); };
public:
 property bool SupportsShouldProcess { bool get(); void set(bool value); };
public bool SupportsShouldProcess { get; set; }
member this.SupportsShouldProcess : bool with get, set
Public Property SupportsShouldProcess As Boolean

Property Value

Applies to