AWS SDK for .NET Documentation
ReplaceRouteTableAssociation Method (request)
AmazonAmazon.EC2AmazonEC2ClientReplaceRouteTableAssociation(ReplaceRouteTableAssociationRequest) Did this page help you?   Yes   No    Tell us about it...
Changes the route table associated with a given subnet in a VPC.
Declaration Syntax
C#
public ReplaceRouteTableAssociationResponse ReplaceRouteTableAssociation(
	ReplaceRouteTableAssociationRequest request
)
Parameters
request (ReplaceRouteTableAssociationRequest)
Replace Route Table Association request
Return Value
Replace Route Table Association Response from the service
Remarks
After you execute this action, the subnet uses the routes in the new route table it's associated with. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.
Exceptions

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