문제

We are developing remote asp.net application for SharePoint Foundation 2010. We want to create content database and site collection for that content database programatically. I am searching on internet. I found many examples which uses Server Object Model. I am not able to find any article which uses Managed Client Object Model. Is there any way to create content database and site collection in managed client object model ?

도움이 되었습니까?

해결책

Unfortunately thier is nothing in COM which can help you in attaching a content database to a web application and then to create a sitecollection on it.

You can use admin.asmx webservice alternatively which would be available under central admin webapplication

http://CAURL/_vti_adm/admin.asmx

This can help you in creating sitecollection but i don't see OOTB service to create Content database for that you would have to create your custom web service

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top