AWS SDK for .NET Documentation
DeleteTable Method (deleteTableRequest)
AmazonAmazon.DynamoDBAmazonDynamoDBClientDeleteTable(DeleteTableRequest) Did this page help you?   Yes   No    Tell us about it...

Deletes a table and all of its items.

If the table is in the ACTIVE state, you can delete it. If a table is in CREATING or UPDATING states then Amazon DynamoDB returns a ResourceInUseException . If the specified table does not exist, Amazon DynamoDB returns a ResourceNotFoundException .

Declaration Syntax
C#
public DeleteTableResponse DeleteTable(
	DeleteTableRequest deleteTableRequest
)
Parameters
deleteTableRequest (DeleteTableRequest)
Container for the necessary parameters to execute the DeleteTable service method on AmazonDynamoDB.
Return Value
The response from the DeleteTable service method, as returned by AmazonDynamoDB.
Examples

This example shows how to delete a table.

CopyDeleteTable sample
// Create a client
AmazonDynamoDBClient client = new AmazonDynamoDBClient();

// Configure the DeleteTable request
DeleteTableRequest request = new DeleteTableRequest
{
    TableName = "SampleTable"
};

// Issue DeleteTable request and retrieve the table description
TableDescription tableDescription = client.DeleteTable(request).DeleteTableResult.TableDescription;
Console.WriteLine("Table name: {0}", tableDescription.TableName);
Console.WriteLine("Table status: {0}", tableDescription.TableStatus);
Exceptions

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