AWS SDK for .NET Documentation
DeleteTable Method (deleteTableRequest)
AmazonAmazon.DynamoDBAmazonDynamoDBDeleteTable(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
DeleteTableResponse DeleteTable(
	DeleteTableRequest deleteTableRequest
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.

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);

Assembly: AWSSDK (Module: AWSSDK) Version: (