FilePathTryGetReadLockExclusive Method
Attempts to get read access on a file.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public static bool TryGetReadLockExclusive(
string fileName
)
Public Shared Function TryGetReadLockExclusive (
fileName As String
) As Boolean
public:
static bool TryGetReadLockExclusive(
String^ fileName
)
Gemstone.IO.FilePath.TryGetReadLockExclusive = function(fileName);
- fileName String
- The file to check for read access.
BooleanTrue if read access is obtained; false otherwise.