ShareResourceTypes Enumeration |
Namespace: Alphaleonis.Win32.Network
Member name | Value | Description | |
---|---|---|---|
None | 0 | No specific resource type used. | |
Dfs | 1 | SHI1005_FLAGS_DFS
The specified share is present in a DFS tree structure. This flag cannot be set with NetShareSetInfo. | |
DfsRoot | 2 | SHI1005_FLAGS_DFS_ROOT
The specified share is the root volume in a DFS tree structure. This flag cannot be set with NetShareSetInfo. | |
RestrictExclusiveOpens | 256 | SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS
The specified share disallows exclusive file opens, where reads to an open file are disallowed. | |
ForceSharedDelete | 512 | SHI1005_FLAGS_FORCE_SHARED_DELETE
Shared files in the specified share can be forcibly deleted. | |
AllowNamespaceCaching | 1024 | SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING
Clients are allowed to cache the namespace of the specified share. | |
AccessBasedDirectoryEnum | 2048 | SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM
The server will filter directory entries based on the access permissions that the user on the client computer has for the server on which the files reside. Only files for which the user has read access and directories for which the user has FILE_LIST_DIRECTORY access will be returned. If the user has SeBackupPrivilege, all available information will be returned. | |
ForceLevel2OpLock | 4096 | SHI1005_FLAGS_FORCE_LEVELII_OPLOCK
Prevents exclusive caching modes that can cause delays for highly shared read-only data. | |
EnableHash | 8192 | SHI1005_FLAGS_ENABLE_HASH | |
EnableCa | 16384 | SHI1005_FLAGS_ENABLE_CA (0X4000) - Enables server-side functionality needed for peer caching support. Clients on high-latency or low-bandwidth connections can use alternate methods to retrieve data from peers if available, instead of sending requests to the server. This is only supported on shares configured for manual caching (CSC_CACHE_MANUAL_REINT). |
Minimum supported client: Windows XP [desktop apps only]
Minimum supported server: Windows Server 2003 [desktop apps only]