检查子网站是否存在 [英] Check subsite exists
本文介绍了检查子网站是否存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用C#以编程方式检查子站点是否存在?
How to check if subsite exists programmatically using C# ?
我的网址为``''site/s/ABC/2017h1/bind'' 我想检查"2017h1"是否存在,如果是,则检查绑定"是否存在.存在.
I have the url as "site/s/ABC/2017h1/bind" I want to check if "2017h1" exist, if yes, check "bind" exist .
如何使用C#以编程方式检查此内容?
How to check this programmatically using C# ?
谢谢
推荐答案
如果使用的是服务器对象模型.
If you are using Server object model.
https://msdn.microsoft.com/en-us/library/office/ms474633 .aspx
这篇关于检查子网站是否存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文