public NodeServiceClient ( string callingUrl ) : Microsoft.SharePoint | ||
callingUrl | string | |
return | Microsoft.SharePoint |
public NodeServiceClient(string callingUrl)
{
SPSecurity.RunWithElevatedPrivileges(delegate()
{
_site = new SPSite(callingUrl);
_serviceContext = SPServiceContext.GetContext(_site);
});
}