Get Directories In Directory Activity

Description

Returns a collection of all subdirectories for a given directory on the server.

Usage

A workflow could use the Get Directories In Directory activity to examine the directory structure of a given directory.

Inputs

Path

Required

Type: String

The path of the directory to get subdirectory paths from.

Search Pattern

Optional

Type: String

The search pattern to use when getting subdirectory paths.

If no search pattern is provided, all subdirectories paths are returned.

Outputs

directories

Type: String[]

The array of all (matching) subdirectory paths.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.

See also...

The Directory.GetDirectories(String) method.

The Directory.GetDirectories(String, String) method.