如果小弟我要使用sharepoint的API需要添加什么引用

如果我要使用sharepoint的API需要添加什么引用?
如题。dll?
没用过sharepoint。只是要做一个帖子link的查询。

------解决方案--------------------
SharePoint 2010
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.SharePoint.dll

SharePoint 2007
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\Microsoft.SharePoint.dll