AWS SDK for .NET Documentation
DeleteRouteTable Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2Client ► DeleteRouteTable(DeleteRouteTableRequest)
Did this page help you? Yes No Tell us about it...
Deletes a route table from a VPC. The route table must not be associated with a subnet. You can't delete the main route table.
Declaration Syntax

C#

    public DeleteRouteTableResponse DeleteRouteTable(
    	DeleteRouteTableRequest request
    )

Parameters

request (DeleteRouteTableRequest)
  Delete Route Table request

Return Value
Delete Route Table Response from the service
Exceptions

Exception | Condition
--- | ---
WebException |
AmazonEC2Exception |

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