2.2.3.44 DeleteSubFolders

The DeleteSubFolders element is an optional child element of the Options element in ItemOperations command requests for the EmptyFolderContents (section 2.2.3.58) operation. It is a flag that indicates whether to delete the subfolders of the specified folder.

All elements referenced in this section are defined in the ItemOperations namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

ItemOperations command request (section 2.2.1.10) EmptyFolderContents operation

Options (section 2.2.3.125.3)

None

None

0...1 (optional)

If the DeleteSubFolders element is not present in the request, the default behavior is to not delete subfolders.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes