Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3996718
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:18:48+00:00 2026-05-20T07:18:48+00:00

I am currently upgrading an application that made us of sync framework 1 to

  • 0

I am currently upgrading an application that made us of sync framework 1 to version 2. As part of this I am using the new scoping system and dropping the use of SQL Server Change Tracking.

It would appear that in order to provision a remote database for sync framework a number of new tables and stored procedures must be created.

Is there a way, using the API, to remove these artefacts should they no longer be needed?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:18:49+00:00Added an answer on May 20, 2026 at 7:18 am

    See http://msdn.microsoft.com/en-us/library/ff928603%28SQL.110%29.aspx

    Remove a scope:

    // Remove the retail customer scope from the Sql Server client database.
    SqlSyncScopeDeprovisioning clientSqlDepro = new SqlSyncScopeDeprovisioning(clientSqlConn);
    
    // Remove the scope.
    clientSqlDepro.DeprovisionScope("RetailCustomers");
    

    Remove all sync metadata artifacts:

    // Remove all scopes from the SQL Server Compact database.
    SqlSyncScopeDeprovisioning clientSqlDepro = new SqlSyncScopeDeprovisioning(clientSqlConn);
    clientSqlDepro.DeprovisionStore();
    

    If you use a custom schema and/or prefix for table names, don’t forget to add these to the SqlSyncScopeDeprovisioning object.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently upgrading to the new HTML5 version of Google Maps Geolocation API and
I've got an older ASP/VBScript app that I'm maintaining/upgrading and its currently using the
I'm currently upgrading an older iPhone flashcard application that uses two SQLite dbs (one
I'm currently upgrading my application to use jQuery 1.6.1 (previously using 1.4.4) and found
I have a web application that is currently using backbone.js 0.5.3 with backbone local
I am currently upgrading an application that generates OpenPGP messages to be FIPS 140-2
I'm currently upgrading one of my websites from the old system to HTML5 and
We are currently in the process of upgrading our rails version and I have
I work with an engineering team that's built an enterprise-class web application. Currently, the
I have an Excel 2010 macro application that is made up of several workbook

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.