Click or drag to resize
ShareResourceTypes Enumeration
Contains information about the shared resource.

Namespace: Alphaleonis.Win32.Network
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
[FlagsAttribute]
public enum ShareResourceTypes
Members
  Member nameValueDescription
None0No specific resource type used.
Dfs1SHI1005_FLAGS_DFS

The specified share is present in a DFS tree structure. This flag cannot be set with NetShareSetInfo.

DfsRoot2SHI1005_FLAGS_DFS_ROOT

The specified share is the root volume in a DFS tree structure. This flag cannot be set with NetShareSetInfo.

RestrictExclusiveOpens256SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS

The specified share disallows exclusive file opens, where reads to an open file are disallowed.

ForceSharedDelete512SHI1005_FLAGS_FORCE_SHARED_DELETE

Shared files in the specified share can be forcibly deleted.

AllowNamespaceCaching1024SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING

Clients are allowed to cache the namespace of the specified share.

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

ForceLevel2OpLock4096SHI1005_FLAGS_FORCE_LEVELII_OPLOCK

Prevents exclusive caching modes that can cause delays for highly shared read-only data.

EnableHash8192SHI1005_FLAGS_ENABLE_HASH
EnableCa16384SHI1005_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).
Remarks

Minimum supported client: Windows XP [desktop apps only]

Minimum supported server: Windows Server 2003 [desktop apps only]

See Also