AWS SDK for .NET Documentation
DeleteLoadBalancer Method (deleteLoadBalancerRequest)
AmazonAmazon.ElasticLoadBalancingAmazonElasticLoadBalancingDeleteLoadBalancer(DeleteLoadBalancerRequest) Did this page help you?   Yes   No    Tell us about it...

Deletes the specified load balancer.

If attempting to recreate the load balancer, you must reconfigure all the settings. The DNS name associated with a deleted load balancer will no longer be usable. Once deleted, the name and associated DNS record of the load balancer no longer exist and traffic sent to any of its IP addresses will no longer be delivered to back-end instances.

To successfully call this API, you must provide the same account credentials as were used to create the load balancer.

NOTE: By design, if the load balancer does not exist or has already been deleted, a call to DeleteLoadBalancer action still succeeds.

Declaration Syntax
C#
DeleteLoadBalancerResponse DeleteLoadBalancer(
	DeleteLoadBalancerRequest deleteLoadBalancerRequest
)
Parameters
deleteLoadBalancerRequest (DeleteLoadBalancerRequest)
Container for the necessary parameters to execute the DeleteLoadBalancer service method on AmazonElasticLoadBalancing.
Return Value
The response from the DeleteLoadBalancer service method, as returned by AmazonElasticLoadBalancing.

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