AWS SDK Version 2 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.

.NET Framework 3.5
Terminates the specified WorkSpaces.

Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is not maintained and will be destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace.

You can terminate a WorkSpace that is in any state except SUSPENDED.

This operation is asynchronous and will return before the WorkSpaces have been completely terminated.

Namespace: Amazon.WorkSpaces
Assembly: AWSSDK.dll
Version: (assembly version)


public virtual TerminateWorkspacesResponse TerminateWorkspaces(
         TerminateWorkspacesRequest request


Type: Amazon.WorkSpaces.Model.TerminateWorkspacesRequest

Container for the necessary parameters to execute the TerminateWorkspaces service method.

Return Value
Type: Amazon.WorkSpaces.Model.TerminateWorkspacesResponse
The response from the TerminateWorkspaces service method, as returned by WorkSpaces.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5