File System Provider::CreateShare

Creates a network share with the specified attributes. 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.

  <sourcePath path=".." machine="..">1..1</sourcePath>

XML Output Schema

CreateShare 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.

shareName (minOccurs="1" maxOccurs="1")
sourcePath (minOccurs="1" maxOccurs="1")

shareName Description:
Name of the new share.


sourcePath Description:
Path for the new share.



machine Required. Computer to create the share on.
path Required. Path for the share.


The rollback procedure is DeleteShare.

See Also

DeleteShare, File System Provider, GetShareProperties, SetShareProperties

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