File System Provider::DeleteDirectory


Deletes the specified directory and any subdirectories and files. Used by Microsoft® Provisioning Framework (MPF).

XML Input Schema

The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.

<executeData>1..1
  <dirName>1..1</dirName>
  <sourcePath path="..">1..1</sourcePath>
</executeData>

XML Output Schema

CreateDirectory does not return data.

Elements and Attributes

The following table describes the XML elements and attributes. Unless otherwise indicated, the data type is string.

Element Description, relationships, and attributes
dirName Description:
Name of the directory to delete.

Parent:
executeData

executeData Description:
Encapsulates the procedure's input data.

Children:
controlInfo (minOccurs="0" maxOccurs="1")
destPath
(minOccurs="1" maxOccurs="1")
fileName
(minOccurs="1" maxOccurs="1")
properties (minOccurs="0" maxOccurs="1")
security
(minOccurs="0" maxOccurs="1")
sourcePath
(minOccurs="1" maxOccurs="1")
summary
(minOccurs="0" maxOccurs="1")

sourcePath Description:
Path of the directory to delete.

Parent:
executeData

Attribute:

path  Required. Path of the source directory (specified by the dirName node).

Remarks

This procedure does not validate whether the user has permissions to delete subdirectories and their contents; it assumes that the user is an administrator.

See Also

CopyDirectory, DeleteDirectory, File System Provider, ListDirectory, MoveDirectory, RenameDirectory


Up Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.