Purpose
Uses the server's indexed search engine to retrieve search results from the current container and below.
Results are returned as ContainerField data just as they would be in the client's search. Combined with Impersonate, Search can be used to obey the user's permissions tree.
Syntax
ServerFile.Search (SearchString)
Example
Dim sf as ServerFile
Dim I as Integer
sf.Search("test")
Debug sf.ContainerItems
For I = 0 to sf.ContainerItems-1
Debug sf.ContainerField(7,I)
Next I
|