.NET Framework Class Library
File.FileLock Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > File Class > File Methods >

.NET Framework Class Library
File.FileLock Method

Sets the 'Write' ACL permission on the selected file.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub FileLock ( _

 fullFileName As String, _
 Optional ownerID As String = "" _
)

C#

public void FileLock(

 string fullFileName,
 string ownerID = ""
)

Visual C++

public:

void FileLock(
 StringfullFileName,
 StringownerID = L""
)

JavaScript

function fileLock(fullFileNameownerID);

Parameters

fullFileName

Type: System.String
full path file name

ownerID (Optional)

Type: System.String
Optional. The personality to be used as owner of the file

Remarks

See Also

File Class

File Members

MwPDMApi Namespace