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