SharePoint ক্লায়েন্ট অবজেক্ট মডেল 2010 is one of the developers dream. It enables developers to
access the SharePoint data from client, the code need not to be deployed in to the server.
Client Object Model can be used in the following three ways.
- .Net CLR
- Silverlight Object Model
- JavaScript
.Net CLR Example:
Create the context to the SharePoint site. No traffic/requests will be made to the server until you call the ExecuteQuery()
try
Source Code
{
ClientContext ctx = নতুন
ClientContext(“HTTP://স্থানীয় হোস্ট”);
Web site = ctx.Web;
ctx.Load(site);
ctx.ExecuteQuery();
site.Title = “Update from Client Object Model – Win App”;
site.Update();
ctx.ExecuteQuery();
MessageBox.Show(“Update Succeeded”);
}
ধরা (ব্যতিক্রম ex)
{
MessageBox.Show(“Update Failed “ + ex.ToString());
}
হাই, its good article on the topic of media print, we all understand media is a enormous source of data.