:Search()


Class

     aprWhoIs()

 

Syntax

     :Search(cString, [nType], [hSession] ) --> lSuccess

 

Parameters

     cString

           keyword or user handle to search for.

 

     nType (Optional)

 

Value

Description

*

WHOIS_SEARCH_ANY

Search for any record that matches the specified keyword.

 

WHOIS_SEARCH_HANDLE

Search only for handles that match the specified keyword.

 

WHOIS_SEARCH_MAILBOX

Search only for mailboxes that match the specified keyword.

 

           Default is WHOIS_SEARCH_ANY

 

     hSession (optional)

           If hSession is not passed, the value in :Session

 

Return

     Returns .T. if successful, otherwise .F. is returned.

     If call failed, you can get extended Error information from :nErr and :cErr.

 

Description

     :Search() initiates a Query to the remote WhoIs server. If successful, the results can be obtained by calling :Read()

 

See Also

:Read()