Advantage Client Engine
Delete a publication object from the database.
UNSIGNED32 AdsDDDeletePublication( ADSHANDLE hDictionary,
UNSIGNED8 *pucPublicationName );
hDictionary (I) |
Handle of a database connection. |
pucPublicationName (I) |
Name of the publication object to delete. |
AE_INVALID_OBJECT_NAME |
The publication specified by pucPublicationName cannot be located in the data dictionary, or the publication is in use by one or more subscriptions. |
AdsDDDeletePublication removes an existing publication from the database.
Note This function can be called inside a transaction, but will not be part of the transaction. Any changes it makes cannot be rolled back.
ulRetVal = AdsDDDeletePublication( hConn, "mypub" );
See Also