AWS SDK for .NET Documentation
DeregisterInstancesFromLoadBalancer Method (deregisterInstancesFromLoadBalancerRequest)
AmazonAmazon.ElasticLoadBalancingAmazonElasticLoadBalancingClientDeregisterInstancesFromLoadBalancer(DeregisterInstancesFromLoadBalancerRequest) Did this page help you?   Yes   No    Tell us about it...

Deregisters instances from the load balancer. Once the instance is deregistered, it will stop receiving traffic from the load balancer.

In order to successfully call this API, the same account credentials as those used to create the load balancer must be provided.

For more information, see De-register and Register Amazon EC2 Instances in the Elastic Load Balancing Developer Guide .

You can use DescribeLoadBalancers to verify if the instance is deregistered from the load balancer.

Declaration Syntax
public DeregisterInstancesFromLoadBalancerResponse DeregisterInstancesFromLoadBalancer(
	DeregisterInstancesFromLoadBalancerRequest deregisterInstancesFromLoadBalancerRequest
deregisterInstancesFromLoadBalancerRequest (DeregisterInstancesFromLoadBalancerRequest)
Container for the necessary parameters to execute the DeregisterInstancesFromLoadBalancer service method on AmazonElasticLoadBalancing.
Return Value
The response from the DeregisterInstancesFromLoadBalancer service method, as returned by AmazonElasticLoadBalancing.

Assembly: AWSSDK (Module: AWSSDK) Version: (