Category Archives for "SharePoint Server Object Model"

50+ SharePoint server object model examples

SharePoint server object model examples

This SharePoint tutorial explains, 40+ SharePoint server object model examples. Various SharePoint server object model classes which are available in SharePoint 2010/2013/2016. Let us discuss more on the SharePoint server object model. SharePoint server object model There are two types of object model in SharePoint. Server object model Client object model We will discuss how […]

Write to ULS log using PowerShell in SharePoint 2013/2016

Write to ULS log using PowerShell in SharePoint 2013

This SharePoint tutorial, we will discuss, how to write to SharePoint uls logs using PowerShell in SharePoint 2013/2016. Also, we will see how to write logs to ULS logs using the SharePoint server object model. SharePoint maintains Logs and Exceptions of SharePoint in ULS (Unified Logging Service). By default SharePoint stored in .log files in […]

Create subsite in SharePoint 2013/2016 programmatically

Create sub site using SharePoint 2016 server object model and SharePoint 2016 client object model

This SharePoint tutorial explains, how to create a subsite programmatically using the server object model and client object model in SharePoint 2013/2016. I have used a windows application to create subsites in SharePoint 2016. But the same code will work for SharePoint 2013. Create subsite in SharePoint programmatically using server object model Below is the […]

Get SharePoint content database size using PowerShell and server object model

How to get content database size using PowerShell in SharePoint 2016 and using SharePoint server object model

This SharePoint tutorial, we will discuss how to retrieve SharePoint content database size using PowerShell and using the SharePoint server object model. The same PowerShell script code, we can use to get content database size using PowerShell in SharePoint 2013/2016. We can also use the server object model code to get SharePoint 2013/2016 content database […]

Send email programmatically in SharePoint 2016/2013

SPUtility.SendEmail with StringBuilder and Powershell

This SharePoint tutorial, we will discuss how to send email programmatically using the server object model in SharePoint 2013/2016. I will also show how to send email in SharePoint 2016 using PowerShell. Send email programmatically in SharePoint 2016/2013 In this article, we will learn how to leverage StringBuilder and Powershell to send a minimal HTML […]

1 2 3 4
>