Condividi tramite


ShareDirectoryCreateOptions Class

Definition

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 Optional properties to set on NFS directories. Note that this property is only applicable to directories created in NFS shares.
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.

Applies to