如何通过 C# 创建 Project Server 2003 的项目/任务?
我需要能够以编程方式从我的应用程序到 Project Server 2003 安装创建基本的 MS Project 项目(任务、项目、资源等),但尚未找到任何好的示例。 任何人都可以向我指出一些好的参考资料或者有一些连接到服务器并创建这些项目的示例代码吗?
I need to be able to create basic MS Project items (tasks, projects, resources, etc.) programmatically from my app to my Project Server 2003 install, and haven't found any good examples. Can anyone point me to some good references or have some sample code of connecting to the server and creating these items?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
针对 Project Server 2003 进行开发并不是最友好的体验,但我已经使用过一些基于 SOAP 的 PDS (Project Data Services)
http://msdn.microsoft.com/en-us/library/aa204408(office.11).aspx
它包含 .NET 示例
Developing against Project Server 2003 isn't the friendliest experience around, but I have worked a little bit with the PDS (Project Data Services) which is SOAP based
http://msdn.microsoft.com/en-us/library/aa204408(office.11).aspx
It contains .NET samples there
据我所知,对 PS 2003 的唯一编程访问是通过 PWS。
我不知道它是否有效,但您可以尝试为 Microsoft Project 2003(客户端应用程序)编写托管扩展。有 是 MS Project 2003 的托管 API,您可以利用它与服务器通信、获取项目并全部更新在代码中。
祝你好运!
As far as I know, the only programatic access to PS 2003 is through PWS.
I don't know if it would work, but you could try writing a managed extension for Microsoft Project 2003 (The client application) .There is a managed API for MS Project 2003, and you might be able to leverage that to communicate with the server, get a project and update it all in code.
Good luck!