共用方式為


CmdletCommonMetadataAttribute Class

Definition

Contains information about a cmdlet's metadata.

public ref class CmdletCommonMetadataAttribute abstract : System::Management::Automation::Internal::CmdletMetadataAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public abstract class CmdletCommonMetadataAttribute : System.Management.Automation.Internal.CmdletMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type CmdletCommonMetadataAttribute = class
    inherit CmdletMetadataAttribute
Public MustInherit Class CmdletCommonMetadataAttribute
Inherits CmdletMetadataAttribute
Inheritance
CmdletCommonMetadataAttribute
Derived
Attributes

Constructors

CmdletCommonMetadataAttribute()

Properties

ConfirmImpact

Gets or sets a ConfirmImpact value that indicates the "destructiveness" of the operation and when it should be confirmed. This should only be used when SupportsShouldProcess is specified.

DefaultParameterSetName

Gets or sets the cmdlet default parameter set.

HelpUri

Gets or sets a HelpUri value that indicates the location of online help. This is used by Get-Help to retrieve help content when -Online is specified.

RemotingCapability

Gets or sets the RemotingBehavior value that declares how this cmdlet should interact with ambient remoting.

SupportsPaging

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

SupportsShouldProcess

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.

SupportsTransactions

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

Applies to