AmazonEC2Client.DeleteSubnet Method (DeleteSubnetRequest)

.NET Framework 3.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 deleteSubnetRequest
)

Parameters

deleteSubnetRequest
Type: Amazon.EC2.Model.DeleteSubnetRequest

Container for the necessary parameters to execute the DeleteSubnet service method on AmazonEC2.

Version Information

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