AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteDBSubnetGroup operation. Deletes a DB subnet group.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Neptune.AmazonNeptuneRequest
      Amazon.Neptune.Model.DeleteDBSubnetGroupRequest

Namespace: Amazon.Neptune.Model
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteDBSubnetGroupRequest : AmazonNeptuneRequest
         IAmazonWebServiceRequest

The DeleteDBSubnetGroupRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DBSubnetGroupName System.String

Gets and sets the property DBSubnetGroupName.

The name of the database subnet group to delete.

You can't delete the default subnet group.

Constraints:

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

Example: mySubnetgroup

Examples

This example deletes the specified DB subnetgroup.

To delete a DB subnet group.


var response = client.DeleteDBSubnetGroup(new DeleteDBSubnetGroupRequest 
{
    DBSubnetGroupName = "mydbsubnetgroup"
});


            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5