开发者

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

开发者 https://www.devze.com 2022-12-20 00:57 出处:网络
How do I tell if a SharePoint class is specific to WSS or MOSS?开发者_如何学C For example, can I use the SPAudit class in MOSS only?I do it by looking at which DLL contains the class.

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

开发者_如何学C

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


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消