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 4.5
 
Container for the parameters to the DescribeDirectories operation. Obtains information about the directories that belong to this account.

You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds parameter. Otherwise, all directories that belong to the current account are returned.

This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items.

You can also specify a maximum number of return results with the Limit parameter.

Inheritance Hierarchy

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

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

Syntax

C#
public class DescribeDirectoriesRequest : AmazonDirectoryServiceRequest
         IRequestEvents

The DescribeDirectoriesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DirectoryIds System.Collections.Generic.List<System.String> Gets and sets the property DirectoryIds.

A list of identifiers of the directories for which to obtain the information. If this member is null, all directories that belong to the current account are returned.

An empty list results in an InvalidParameterException being thrown.

Public Property Limit System.Int32 Gets and sets the property Limit.

The maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.

Public Property NextToken System.String Gets and sets the property NextToken.

The DescribeDirectoriesResult.NextToken value from a previous call to DescribeDirectories. Pass null if this is the first call.

Version Information

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