locked
provision server with sql 2008 change tracking using collaborative scenarios? RRS feed

  • Question

  • Is it possible to provision a server to use SQL Server 2008 change tracking using the collaborative components?

    For example, the following example based on the collaborative scenario documentation does not use change tracking:

     

    DbSyncScopeDescription scopeDesc = new DbSyncScopeDescription("myscope");
    DbSyncTableDescription tableDescription = SqlSyncDescriptionBuilder.GetDescriptionForTable("MyTable", serverConn);

    scopeDesc.Tables.Add(tableDescription);

     

    SqlSyncScopeProvisioning serverConfig = new SqlSyncScopeProvisioning(scopeDesc);
    serverConfig.SetCreateTableDefault(
    DbSyncCreationOption.Skip);

     

     

    serverConfig.Apply(serverConn);

    I think that I can make this work if I was to write all my own table adapters, but I am hoping that there is a way to do this without all the extra work.

    Thanks!

    Dan

    • Moved by Max Wang_1983 Thursday, April 21, 2011 10:27 PM forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Wednesday, December 2, 2009 2:42 PM

Answers

All replies