RestartComputerCommand.ThrottleLimit Property
Gets and sets the value of the ThrottleLimit parameter of the Restart-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 RestartComputerCommand
Dim value As Integer
value = instance.ThrottleLimit
instance.ThrottleLimit = value
Syntax
'Declaration
<ValidateRangeAttribute(-2147483648, 1000)> _
<ParameterAttribute(ParameterSetName:="AsJobSet")> _
Public Property ThrottleLimit As Integer
[ValidateRangeAttribute(-2147483648, 1000)]
[ParameterAttribute(ParameterSetName="AsJobSet")]
public int ThrottleLimit { get; set; }
[ValidateRangeAttribute(-2147483648, 1000)]
[ParameterAttribute(ParameterSetName=L"AsJobSet")]
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 Restart-Computer in the Microsoft TechNet library.
For Help at the command line, type:
get-help restart-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
RestartComputerCommand Class
RestartComputerCommand Members
Microsoft.PowerShell.Commands Namespace