سؤال

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