Deprovisioning of a Scope. RRS feed

  • Question

  • Hi,

    I need to deprovision one scope on both the sides ,Client as well as Server.

    We have filter provided for the scope  i.e. there exists a template.

    Therefore, what shall be necessary steps to do it.

    Is the class SqlSyncScopeDeprovisioning can be used on both the sides just by providing the connection string.Or do I need to specifically mention the  template rather than the scope name at server end.


    Sachin K


    Also if I am also adding the same

    Tuesday, August 9, 2011 7:39 AM

All replies

  • the deprovisioning API can deprovision at the database level (DeprovisionStore), deprovision a template(DeprovisionTemplate) and deprovision a scope (DeprovisionScope).

    so it depends on what you want to deprovision.

    if you only want to deprovision the scope but not the template, just call DeprovisionScope passing the scope name.

    If you want to deprovision a template and all scopes created from it, you call DeprovisionTemplate

    if you want to deprovision all Sync Framework objects in the database, call DeprovisionStore

    Tuesday, August 9, 2011 7:56 AM