:: com :: sun :: star :: sdb :: tools ::

interface XKeyAlteration
Base Interfaces
XKeyAlterationXConnectionSupplier
   ┗ ::com::sun::star::lang::XInitialization

XConnectionSupplier

Methods' Summary
dropKey drops an object of the related container identified by its name.  
addKey creates a new object using the given descriptor and appends it to the related container. Note: The descriptor will not be changed and can be used again to append another object.  
Methods' Details
dropKey
void
dropKey( [in] ::com::sun::star::beans::XPropertySet  table,
[in] ::com::sun::star::beans::XPropertySet  key )
raises( ::com::sun::star::sdbc::SQLException );

Description
drops an object of the related container identified by its name.
Parameter table
the table to be altered
Parameter key
the key to be dropped
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
addKey
void
addKey( [in] ::com::sun::star::beans::XPropertySet  table,
[in] ::com::sun::star::beans::XPropertySet  descriptor )
raises( ::com::sun::star::sdbc::SQLException );

Description
creates a new object using the given descriptor and appends it to the related container. Note: The descriptor will not be changed and can be used again to append another object.
Parameter table
the table to be altered
Parameter descriptor
the descriptor which should be serve to append a new object
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
Top of Page