BackupFileStreamLock Method |
Prevents other processes from changing the
BackupFileStream while permitting read access.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public virtual void Lock(
long position,
long length
)
Public Overridable Sub Lock (
position As Long,
length As Long
)
public:
virtual void Lock(
long long position,
long long length
)
abstract Lock :
position : int64 *
length : int64 -> unit
override Lock :
position : int64 *
length : int64 -> unit
Parameters
- position
- Type: SystemInt64
The beginning of the range to lock. The value of this parameter must be equal to or greater than zero (0). - length
- Type: SystemInt64
The range to be locked.
Exceptions See Also