Skip to content

Instantly share code, notes, and snippets.

@mwiedemeyer
Created October 19, 2014 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwiedemeyer/73720951b23c6e219012 to your computer and use it in GitHub Desktop.
Save mwiedemeyer/73720951b23c6e219012 to your computer and use it in GitHub Desktop.
static void Main(string[] args)
{
ClientContext context = new ClientContext("https://sharepoint/sites/test1");
var web = context.Web;
context.Load(web);
context.ExecuteQuery();
Console.WriteLine("Title: " + web.Title);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment