AWS SDK for .NET Documentation
DeleteCacheSubnetGroup Method (deleteCacheSubnetGroupRequest)
AmazonAmazon.ElastiCacheAmazonElastiCacheClientDeleteCacheSubnetGroup(DeleteCacheSubnetGroupRequest) Did this page help you?   Yes   No    Tell us about it...

The DeleteCacheSubnetGroup operation deletes a cache subnet group.

NOTE:You cannot delete a cache subnet group if it is associated with any cache clusters.

Declaration Syntax
C#
public DeleteCacheSubnetGroupResponse DeleteCacheSubnetGroup(
	DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest
)
Parameters
deleteCacheSubnetGroupRequest (DeleteCacheSubnetGroupRequest)
Container for the necessary parameters to execute the DeleteCacheSubnetGroup service method on AmazonElastiCache.
Exceptions

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