70-516 · Question #116
70-516 Question #116: Real Exam Question with Answer & Explanation
The correct answer is C. customerSyncTable.SyncDirection = SyncDirection.Bidirectional;. TableCreationOption: CreateNewTableOrFail-Create the table in the client database. If an existing table has the same name, throw an exception. DropExistingOrCreateNewTable-Create the table in the client database. If an existing table has the same name, drop the existing table fir
Question
Options
- AcustomerSyncTable.SyncDirection = SyncDirection.DownloadOnly;
- BcustomerSyncTable.SyncDirection = SyncDirection.Snapshot;
- CcustomerSyncTable.SyncDirection = SyncDirection.Bidirectional;
- DcustomerSyncTable.SyncDirection = SyncDirection.UploadOnly;
Explanation
TableCreationOption: CreateNewTableOrFail-Create the table in the client database. If an existing table has the same name, throw an exception. DropExistingOrCreateNewTable-Create the table in the client database. If an existing table has the same name, drop the existing table first. TruncateExistingOrCreateNewTable-Create the table in the client database if the table does not exist. If an existing table has the same name, delete all rows from this table. UploadExistingOrCreateNewTable-Create the table in the client database if the table does not exist. If an existing table has the same name, upload all rows from this table on the first synchronization. This option is only valid with a SyncDirection of Bidirectional or UploadOnly. UseExistingTableOrFail-Use an existing table in the client database that has the same name. If the table does not exist, throw an exception. Bidirectional-During the first synchronization, the client typically downloads schema and an initial data set from the server. On subsequent synchronizations, the client uploads changes to the server and then downloads changes from the server. DownloadOnly-During the first synchronization, the client typically downloads schema and an initial data set from the server. On subsequent synchronizations, the client downloads changes from the server. Snapshot-The client downloads a set of data from the server. The data is completely refreshed during each synchronization. UploadOnly-During the first synchronization, the client typically downloads schema from the On subsequent synchronizations, the client uploads changes to the server. TableCreationOption Enumeration SyncDirection Enumeration CHAPTER 8 Developing Reliable Applications Lesson 4: Synchronizing Data Implementing the Microsoft Sync Framework (page 566)
Community Discussion
No community discussion yet for this question.