Advantage Client Engine
Delete a published article from the database.
UNSIGNED32 AdsDDDeleteArticle( ADSHANDLE hDictionary,
UNSIGNED8 *pucPublicationName,
UNSIGNED8 *pucObjectName );
hDictionary (I) |
Handle of a database connection. |
pucPublicationName (I) |
Name of the publication object that contains the article to delete. |
pucObjectName (I) |
The name of the article to delete from the specified publication. |
AE_INVALID_OBJECT_NAME |
The publication specified by pucPublicationName cannot be located in the data dictionary, or the article specified by pucObjectName does not exist in the publication. |
AdsDDDeleteArticle removes an existing article from a publication.
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 = AdsDDDeleteArticle( hConn, "mypub", "table1" );
See Also