Discuss this help topic in SecureBlackbox Forum

TElSFTPServer.OnFindClose

TElSFTPServer     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event is fired when your software has to stop searching and free the resources allocated for the search.

Declaration

[C#/Java]
    event TSBSFTPServerFindCloseEvent OnFindClose;
    delegate void TSBSFTPServerFindCloseEvent(object Sender, object Data, ref int ErrorCode, ref string Comment);

[VB.NET]
    Event OnFindClose As TSBSFTPServerFindCloseEvent
    Delegate Sub TSBSFTPServerFindCloseEvent(ByVal Sender As Object, ByVal Data As Object, ByRef ErrorCode As Integer, ByRef Comment As String)

[Pascal]
    property OnFindClose: TSBSFTPServerFindCloseEvent;
    
    TSBSFTPServerFindCloseEvent = procedure(Sender : TObject; Data : pointer; var ErrorCode : integer; var Comment : string) of object;

[C++]
    void get_OnFindClose(TElSFTPServerFindCloseEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFindClose(TElSFTPServerFindCloseEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElSFTPServerFindCloseEvent)(void * _ObjectData, TObjectHandle Sender, void * SearchRec, int32_t &ErrorCode, char * pcComment, int32_t &szComment);

[PHP]
    TElSFTPServerFindCloseEvent|callable|NULL get_OnFindClose()
    void set_OnFindClose(TElSFTPServerFindCloseEvent|callable|NULL $Value)
    callable TElSFTPServerFindCloseEvent(TObject $Sender, TSBPointer|NULL $SearchRec, integer &$ErrorCode, string &$Comment)

Parameters

  • Data - Data parameter that was passed to the OnFindFirst event
  • ErrorCode - the error code, see values below
  • Comment - server comment
  • SearchRec - ...
  • pcComment - server comment
  • szComment - the length of pcComment.

Error codes


Description

    This event is fired when all required elements with specified requirements have been found and search resources must be freed. This event is fired after OnFindFirst or OnFindNext. The application can return the error code in ErrorCode parameter and textual comment in Comment parameter.

See also:     OnFindFirst     OnFindNext    

Discuss this help topic in SecureBlackbox Forum