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 LoadBalancer.

If attempting to recreate the LoadBalancer, the client must reconfigure all the settings. The DNS name associated with a deleted LoadBalancer will no longer be usable. Once deleted, the name and associated DNS record of the LoadBalancer no longer exist and traffic sent to any of its IP addresses will no longer be delivered to client instances. The client will not receive the same DNS name even if a new LoadBalancer with same LoadBalancerName is created.

To successfully call this API, the client must provide the same account credentials as were used to create the LoadBalancer.

NOTE: By design, if the LoadBalancer does not exist or has already been deleted, DeleteLoadBalancer 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.20.0 (1.5.20.0)