Prabhu
Prabhu

Reputation: 3538

Accessing remote sharepoint server

I have written an IronPython script that generates a xml file that contains the metadata of a site and the document libraries that it has. I use the Microsoft.SharePoint dll extensively. Is it possible to run this script and generate the metadata of a site that is hosted in a remote server.

Upvotes: 1

Views: 202

Answers (1)

Magnus Johansson
Magnus Johansson

Reputation: 28325

No, if you are using the SharePoint Object Model and reference the SharePoint dll, it needs to run locally on the server. In order to access remote SharePoint server, you will have to use the Web Services interface instead.

Upvotes: 4

Related Questions