I'm working on SharePoint 2019 environment.

I have just created site collection programmatically (CSOM) using MSDN Link

However, I want to create a content database through CSOM and point this newly created Content DB for creating above new site collection.

Any help is much appreciated!


Nope, you can't create a content database through CSOM.

  • Is it possible via CSOM powershell? Oct 15 '19 at 11:01
  • 1
    no, you need server code. Oct 15 '19 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.