共用方式為


CimPromptType Enumeration

 

Specifies a CIM prompt type that is used in callback delegates of a CIM operation options object.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public enum CimPromptType
public enum class CimPromptType
type CimPromptType
Public Enumeration CimPromptType

Members

Member name Description
Critical

The prompt is a critical prompt, such as "Are you sure you want to format your hard disk?" The critical prompt corresponds to the Cmdlet.ShouldContinue prompt in PowerShell.

None

See Normal.

Normal

The prompt type is a normal prompt, such as "Are you sure you want to delete this file?" The normal prompt corresponds to the Cmdlet.ShouldProcess prompt in PowerShell.

See Also

Microsoft.Management.Infrastructure.Options Namespace

Return to top