Export (0) Print
Expand All

VerbsCommon.Switch Field

Specifies an action that alternates between two resources, such as to change between two locations, responsibilities, or states.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim value As String

value = VerbsCommon.Switch

public:
literal String^ Switch
public static final String Switch
public const var Switch : String

This example shows how this field is used in the Cmdlet attribute.

For consistency with other cmdlets that perform the same action, do not use the verbs Switchover, Failover, Swap, or Change for this action.

The verb portion of a cmdlet name specifies the action that is taken by the cmdlet and is specified by the Cmdlet attribute. For more information about the declaration syntax that is used to specify the Cmdlet attribute, see Cmdlet Attribute Declaration.

For more information about the guidelines for selecting verb names, see Cmdlet Verbs.


 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft