How to determine if a WSS or MOSS class is concrete?

How do I know if a SharePoint class is WSS or MOSS?

For example, is it possible to use the SPAudit class only in MOSS?

+6
c # sharepoint moss wss
source share
2 answers

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

For example, most of the SharePoint API functions are located in the Microsoft.SharePoint.dll file (which is WSS). Another example is the Microsoft.SharePoint.Publishing.dll file, which is only MOSS.

+8
source share

The SPAudit class works for both WSS and MOSS, although the user interface is only available in MOSS.

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

Look here to discover MOSS using code.

+3
source share

All Articles