Export (0) Print
Expand All

OpenShare Enumeration

When you call file access-related functions, you can use enumeration members in your code in place of the actual values.

The OpenShare enumeration defines constants that identify a file's sharing level. The following table lists the OpenShare enumeration members.

Member Description
OpenShare.Default Shared. This is the default.
OpenShare.LockRead Other processes cannot read the file.
OpenShare.LockReadWrite Other processes cannot read or write to the file.
OpenShare.LockWrite Other processes cannot write to the file.
OpenShare.Shared Any process can read or write to the file.

Requirements

Namespace: Microsoft.VisualBasic

Assembly: Microsoft.VisualBasic .NET Runtime (in Microsoft.VisualBasic.dll)

See Also

Intrinsic Constants and Enumerations | OpenShare (Object Browser) | OpenAccess Enumeration | OpenMode Enumeration

Show:
© 2014 Microsoft