skip to main
|
skip to sidebar
Sharepoint simple
Friday, April 24, 2009
How to access sharepoint website in windows service
using (SPSite site = new SPSite("http://Server/Site/"))
{
try
{
using (SPWeb web = site.OpenWeb())
{
//some code
}
}catch(Exception ex)
{
//do something whit exception
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
▼
2009
(11)
▼
April
(11)
How to debug event handler
Useful links:
How to get Internalname of ListItem fields
ItemAdding VS ItemAdded
SendMail whit smtp.gmail.com
Sending Mail whit attachment
How to get sAMAccountName from Active Directory
How to create a event handler
How to access sharepoint website in windows service
Where is the ...
ListTemplateId and Events
Followers
About Me
Simple ASP2007
View my complete profile
No comments:
Post a Comment