AWS SDK for .NET Documentation
DeleteDBSubnetGroup Method (deleteDBSubnetGroupRequest)
Amazon ► Amazon.RDS ► AmazonRDSClient ► DeleteDBSubnetGroup(DeleteDBSubnetGroupRequest)
Did this page help you? Yes No Tell us about it...

Deletes a DB subnet group.

NOTE:The specified database subnet group must not be associated with any DB instances.

Declaration Syntax

C#

    public DeleteDBSubnetGroupResponse DeleteDBSubnetGroup(
    	DeleteDBSubnetGroupRequest deleteDBSubnetGroupRequest
    )

Parameters

deleteDBSubnetGroupRequest (DeleteDBSubnetGroupRequest)
  Container for the necessary parameters to execute the DeleteDBSubnetGroup service method on AmazonRDS.

Exceptions

Exception | Condition
--- | ---
DBSubnetGroupNotFoundException |
InvalidDBSubnetGroupStateException |
InvalidDBSubnetStateException |

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