AWS SDK for .NET Documentation
WithCode Method (code)
AmazonAmazon.EC2.ModelInstanceStateWithCode(Decimal) Did this page help you?   Yes   No    Tell us about it...
Sets the code representing the state of the instance.
Declaration Syntax
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public InstanceState WithCode(
	decimal code
code (Decimal)
A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented. Valid values are: 0 (pending) | 16 (running) | 32 (shutting-down) | 48 (terminated) | 64 (stopping) | 80 (stopped)
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (