如何判断一个类是 WSS 还是 MOSS 特定的?

发布于 2024-08-21 03:38:45 字数 79 浏览 3 评论 0原文

如何判断 SharePoint 类是特定于 WSS 还是 MOSS?

例如,我可以仅在 MOSS 中使用 SPAudit 类吗?

How do I tell if a SharePoint class is specific to WSS or MOSS?

For example, can I use the SPAudit class in MOSS only?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

杀手六號 2024-08-28 03:38:45

我通过查看哪个 DLL 包含该类来做到这一点。

例如,大多数 SharePoint API 功能位于 Microsoft.SharePoint.dll(即 WSS)中。另一个例子是 Microsoft.SharePoint.Publishing.dll,它只是 MOSS。

I do it by looking at which DLL contains the class.

For example most SharePoint API functionality is located in the Microsoft.SharePoint.dll (which is WSS). Another example is the Microsoft.SharePoint.Publishing.dll which is MOSS only.

憧憬巴黎街头的黎明 2024-08-28 03:38:45

SPAudit 类适用于 WSS 和 MOSS,尽管用户界面仅在 MOSS 中可用。

就像 JD 所说的,看看 DLL。如果您的 API 需要 Microsoft.Office.*,那么它只是 MOSS。

看看这里使用代码检测 MOSS。

The SPAudit class works for WSS as well as MOSS, even though the user interface is available in MOSS only.

Like JD Said, have a look at the DLL. If your API requires Microsoft.Office.* then it is MOSS only.

Have a look here for detecting MOSS using code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文