开发者

Get ServerContext from web application on IIS

I have an asp.net web application that runs on IIS. Can i get the server context directly or i need to open a sharepoint web and开发者_如何学JAVA get it's context?

Is the ServerContext null?

If i can get it, how?

Thanks alot.


It appears that we can do it and the ServerContext is not null. We can use this:

Microsoft.Office.Server.ServerContext context = Microsoft.Office.Server.ServerContext.Current;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜