Kofax DM API Instrukcja Użytkownika Strona 160

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 159
140 CHAPTER 4
AddReturnProperty
AddReturnProperty
Use this method to add a property to the list of objects that you want a
search to return to you. No data is returned by default. Your search will
return no data unless you call AddReturnProperty at least one time
before you execute your search.
Syntax
PCDRecentDoc.AddReturnProperty( strPropName )
PCDSearch.AddReturnPropery( strPropName )
Parameter
Returns
Returns an HRESULT to receive the result of the call. S_OK indicates
success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.
Example
The following example shows how to add return properties as part of
the execution of a search.
.
.
.
'Save the document security token (DST) from the
'DM Server so the search will execute
'properly.
strDST = pClient.GetDST()
'Create the search object.
pSearch = Server.CreateObject( _
"PCDClient.PCDSearch")
'Pass the DST to the search object.
strPropName The name of the property to be returned in the
results.
Przeglądanie stron 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag