Exporting a Customer and Checking the Export Flag

How to Exporting a Customer and Checking the Export Flag