nerdexam
Microsoft

70-516 · Question #116

You use Microsoft Visual Studio 2010, Microsoft Sync Framework, and Microsoft .NET Framework 4.0 to create an application. You have a ServerSyncProvider connected to a Microsoft SQL Server database…

Sign in or unlock 70-516 to reveal the answer and full explanation for question #116. The question stem and answer options stay visible for context.

Implementing Data Access

Question

You use Microsoft Visual Studio 2010, Microsoft Sync Framework, and Microsoft .NET Framework 4.0 to create an application. You have a ServerSyncProvider connected to a Microsoft SQL Server database. The database is hosted on a Web server. Users will use the Internet to access the Customer database through the ServerSyncProvider. You write the following code segment. (Line numbers are included for reference only.) 01 SyncTable customerSyncTable = new SyncTable("Customer"); 02 customerSyncTable.CreationOption = TableCreationOption.UploadExistingOrCreateNewTable; 03 ... 04 customerSyncTable.SyncGroup = customerSyncGroup; 05 this.Configuration.SyncTables.Add(customerSyncTable); You need to ensure that the application meets the following requirements:

  • Users can modify data locally and receive changes from the server.
  • Only changed rows are transferred during synchronization.

Which code segment should you insert at line 03?

Options

  • AcustomerSyncTable.SyncDirection = SyncDirection.DownloadOnly;
  • BcustomerSyncTable.SyncDirection = SyncDirection.Snapshot;
  • CcustomerSyncTable.SyncDirection = SyncDirection.Bidirectional;
  • DcustomerSyncTable.SyncDirection = SyncDirection.UploadOnly;

Unlock 70-516 to see the answer

You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Sync Framework#SyncDirection#bidirectional sync#ServerSyncProvider
Full 70-516 Practice