AmazonEC2Client.DeleteSubnet Method (DeleteSubnetRequest)

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

Deletes a subnet from a VPC. You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual DeleteSubnetResponse DeleteSubnet(
         DeleteSubnetRequest request
)

Parameters

request
Type: Amazon.EC2.Model.DeleteSubnetRequest

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5