File System Provider::DeleteShare
Deletes the specified network share. 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 <shareName>1..1</shareName> <sourcePath machine="..">1..1</sourcePath> </executeData>XML Output Schema
DeleteShare 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 executeData Description:
Encapsulates the procedure's input data.Children:
shareName (minOccurs="1" maxOccurs="1")
sourcePath (minOccurs="1" maxOccurs="1")shareName Description:
Name of the share to delete.Parent:
executeDatasourcePath Description:
Share to delete.Parent:
executeDataAttribute:
machine Required. Computer to delete the share on. See Also
CreateShare, File System Provider, GetShareProperties, SetShareProperties
Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.