0
我正在用msdn(演練:執行同步[sql express])中給出的示例進行練習。設置同步代理的localprovider屬性
我找不到syncorchestrator因爲我使用ms syncsdk版本2.1。我正在使用同步代理,而不是syncorchestrator。我如何設置syncagent的localprovider屬性?我發現 運行版本:v2.0.50727和版本:3.1.0.0。
我是否添加了足夠的程序集來訪問SyncOrchestrator類?
編輯 我已經包括以下組件:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Microsoft.Synchronization;
using Microsoft.Synchronization.Data.Server;
using Microsoft.Synchronization.Data.SqlServer;
using Microsoft.Synchronization.Data.SqlServerCe;
我已經包括以下組件:使用系統; using System.Collections.Generic;使用System.Linq的 ; using System.Text; using System.Data; using System.Data.SqlClient;使用Microsoft.Synchronization的 ; using Microsoft.Synchronization.Data.Server; 使用Microsoft.Synchronization.Data.SqlServer; using Microsoft.Synchronization.Data.SqlServerCe; – Dhruti
你是從正確的文件夾引用嗎?當你說你找不到它,你的意思是你不能實例化它?您可能想要發佈代碼 – JuneT
實際上無法解析名稱空間。 – Dhruti