AmazonEC2Client.DeleteSecurityGroup Method

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

The DeleteSecurityGroup operation deletes a security group.

NOTE: If you attempt to delete a security group that contains instances, a fault is returned. If you attempt to delete a security group that is referenced by another security group, a fault is returned. For example, if security group B has a rule that allows access from security group A, security group A cannot be deleted until the allow rule is removed.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public virtual DeleteSecurityGroupResponse DeleteSecurityGroup()

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5