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 |