Share via


StopComputerCommand.ThrottleLimit Property

Gets and sets the value of the ThrottleLimit parameter of the Stop-Computer cmdlet. This property is introduced in Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

Usage

'Usage
Dim instance As StopComputerCommand
Dim value As Integer

value = instance.ThrottleLimit

instance.ThrottleLimit = value

Syntax

'Declaration
<ParameterAttribute> _
<ValidateRangeAttribute(-2147483648, 1000)> _
Public Property ThrottleLimit As Integer
[ParameterAttribute] 
[ValidateRangeAttribute(-2147483648, 1000)] 
public int ThrottleLimit { get; set; }
[ParameterAttribute] 
[ValidateRangeAttribute(-2147483648, 1000)] 
public:
property int ThrottleLimit {
    int get ();
    void set (int value);
}
/** @property */
public int get_ThrottleLimit ()

/** @property */
public void set_ThrottleLimit (int value)
public function get ThrottleLimit () : int

public function set ThrottleLimit (value : int)

Property Value

An Int32 value that indicates the maximum number of concurrent connections that can be established to run this command.

Remarks

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Stop-Computer in the Microsoft TechNet library.

For Help at the command line, type:

get-help stop-computer

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

StopComputerCommand Class
StopComputerCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK