Disassociates a subnet from a route table.
Declaration Syntax
C# |
public DisassociateRouteTableResponse DisassociateRouteTable( DisassociateRouteTableRequest request )
Parameters
- request (DisassociateRouteTableRequest)
- Disassociate Route Table request
Return Value
Disassociate Route Table Response from the service
Remarks
After you perform this action, the subnet no longer
uses the routes in the route table. Instead it uses
the routes in the VPC's main route table.
For more information about route tables, go to Route
Tables in the Amazon Virtual Private Cloud User Guide.
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |