protected static SyncRequest CreateSyncPermanentDeleteRequest(string syncKey, string collectionId, string serverId)
{
Request.SyncCollection syncCollection = new Request.SyncCollection
{
SyncKey = syncKey,
CollectionId = collectionId,
WindowSize = "100",
DeletesAsMoves = false,
DeletesAsMovesSpecified = true
};
Request.SyncCollectionDelete deleteData = new Request.SyncCollectionDelete { ServerId = serverId };
syncCollection.Commands = new object[] { deleteData };
return Common.CreateSyncRequest(new Request.SyncCollection[] { syncCollection });
}
#endregion