EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElSftpSupportedExtension.SetSupportedOpenBlockMode

TElSftpSupportedExtension     See also    


 

Sets combination of supported file access modes for file opening

 
 

Declaration

[C#]

    void SetSupportedOpenBlockMode(TSBSftpFileOpenAccess Mode, bool Supported);

    TSBSftpFileOpenAccess = SmallInt;

[VB.NET]

    Sub SetSupportedOpenBlockMode(ByVal Mode As TSBSftpFileOpenAccess, Supported As Boolean)

    TSBSftpFileOpenAccess As SmallInt

[Pascal]

    procedure SetSupportedOpenBlockMode (Mode : TSBSftpFileOpenAccess; Supported : boolean);

    TSBSftpFileOpenAccess = set of TSBSftpFileOpenAccessItem;

[VB6]
    not implemented;

[ActiveX]
    not implemented;

[DLL]
    not implemented;
 
 

Parameters

  • Mode - modes combination to be set
  • Supported - if specified modes combination is supported
 
 

Mode values:

[.NET] [Pascal] Description
1 faReadLock no other handle has been opened for reading and no other handle will be opened for reading until the client closes the handle. However other handle can be opened for any other access but reading.
2 faWriteLock no other handle has been opened for writing or appending and no other handle will be opened for writing or appending until the client closes the handle. However other handle can be opened for any other access but writing or appending.
4 faDeleteLock no other handle has been opened for deleting or with delete on close flag and no other handle will be opened deleting or with delete on close flag until the client closes the handle.
8 faBlockAdvisory If this bit is set, the above block modes are advisory. In advisory mode, only other accesses that specify a block mode need to be considered when determining whether the block access can be granted.
Declared in
[.NET] [Pascal]
Namespace: SBSftpCommon
Assembly: SecureBlackbox.SFTPCommon
Unit: SBSftpCommon

 
 

Description

    Use this method to set supported file access modes combination for file opening.

 
 

See also:     IsSupportedBlockMode     IsSupportedOpenBlockMode     SetSupportedBlockMode    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation