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

  • Home
  • SEARCH
  • 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

Currently, I am developing a product that does fairly intensive calculations using MS SQL
i am currently working on a web application that needs to accept video uploaded
I have a .net WinForms 2.0 application that has an image library of about
I've been trying to use the WPF toolkit in a WPF application that I'm
I'm creating a web application that will involve habitual file uploading and retrieval (PDFs,
I have an intranet application, which for many years has made use of the
I'm currently looking at upgrading the logging mechanism in a medium-to-large-sized Java codebase. Messages
I am upgrading an application to Rails 3.0.0 and am wondering if the standard
Ever since we started upgrading some of our projects to .NET framework 4.0, I've
OK so I've been tasked with upgrading an application which involves updating schema in

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.