ShareDirectoryCreateOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional parameters for creating a directory.
public class ShareDirectoryCreateOptions
type ShareDirectoryCreateOptions = class
Public Class ShareDirectoryCreateOptions
- Inheritance
-
ShareDirectoryCreateOptions
Constructors
| Name | Description |
|---|---|
| ShareDirectoryCreateOptions() | |
Properties
| Name | Description |
|---|---|
| FilePermission |
Optional file permission to set on the directory. |
| Metadata |
Optional custom metadata to set for the directory. |
| PosixProperties |
|
| PropertySemantics |
Optional, only applicable to SMB directories. How attributes and permissions should be set on the file. New: automatically adds the ARCHIVE file attribute flag to the file and uses Windows create file permissions semantics (ex: inherit from parent). Restore: does not modify file attribute flag and uses Windows update file permissions semantics. If Restore is specified, the file permission must also be provided, otherwise PropertySemantics will default to New. |
| SmbProperties |
Optional SMB properties to set for the directory. |