AWS SDK for .NET Documentation
DisassociateRouteTable Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► DisassociateRouteTable(DisassociateRouteTableRequest)
Did this page help you? Yes No Tell us about it...
Disassociates a subnet from a route table.
Declaration Syntax

C#

    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 |

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