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 DeleteDirectory operation. Deletes an Directory Service directory.

Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DirectoryService.AmazonDirectoryServiceRequest
      Amazon.DirectoryService.Model.DeleteDirectoryRequest

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

Syntax

C#
public class DeleteDirectoryRequest : AmazonDirectoryServiceRequest
         IAmazonWebServiceRequest

The DeleteDirectoryRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteDirectoryRequest()

Properties

NameTypeDescription
Public Property DirectoryId System.String

Gets and sets the property DirectoryId.

The identifier of the directory to delete.

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