我正在尝试通过事件接收器访问不同的网站集。事件接收器做我想要的,但它在同一个网站集中做。我有以下代码
using (SPSite destsite = new SPSite("http://man:8787/ONE/"))
{
string currentURL = destsite.Url.ToString()
}
我总是得到 currentURL = http://man:8787
我从来没有得到 currentURL = http://man:8787/ONE
2013 年有什么变化吗?我做错了什么吗?