AWS SDK for .NET Documentation
WithForce Method (force)
Amazon ► Amazon.EC2.Model ► StopInstancesRequest ► WithForce(Boolean)
Did this page help you? Yes No Tell us about it...
Sets whether to force the instance to stop.
Declaration Syntax

C#

    [ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
    public StopInstancesRequest WithForce(
    	bool force
    )

Parameters

force (Boolean)
  Forces the instance to stop. The instance will not have an opportunity to flush file system caches nor file system meta data. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances.

Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)