The Share type exposes the following members.

Properties

  NameDescription
Public propertyAllowUsers
Sets a collection of users allowed to access the share. Use the Permission metadata tag to specify permissions. Default is Full.

Xml Copy imageCopy
<Allow Include="AUser">
    <Permission>Full, Read or Change etc</Permission>
</Allow>
Public propertyCreateSharePath
Sets whether to create the SharePath if it doesnt exist. Default is false
Public propertyDenyUsers
Sets a collection of users not allowed to access the share
Public propertyDescription
Sets the desctiption for the share
Public propertyExists
Gets whether the share exists
Public propertyMaximumAllowed
Sets the maximum number of allowed users for the share
Public propertyShareName
Sets the share name
Public propertySharePath
Sets the share path
Public propertyTaskAction (Overrides BaseTask..::..TaskAction.)

See Also