using OpenEdge.DataAdmin.ICdcTablePolicy from propath.
define variable service as OpenEdge.DataAdmin.DataAdminService no-undo. define variable tablePolicy as ICdcTablePolicy no-undo. service = new OpenEdge.DataAdmin.DataAdminService(ldbname(1)). tablePolicy = service:GetCdcTablePolicy("customerinActive2"). tablePolicy:ExportAsProcedure("cdcpoliy.p"). |