Setlibrary – Kofax DM API User Manual
Page 285
Advertising
DM API M
ETHODS
AND
P
ROPERTIES
265
SetLibrary
SetLibrary
This method sets the DM library that is to be used with the current
instance of the
object.
Syntax
PCDSQL.SetLibrary( strMyLibrary )
Parameter
Returns
Returns an
HRESULT
value. It always returns a value that indicates
SUCCESS
, whether the library that is being set exists or not.
Usage
If an empty string is sent with the SetLibrary method, the user’s default
library becomes the target of subsequent SQL statements.
Example
object shows how you
can use this method.
Related Items
See the
object.
See the following properties:
strMyLibrary
A string variable that contains the name of the
library to use.
Advertising