Export (0) Print
Expand All

Code Sample: Creating a Content Class That Can Be Backed Up

SharePoint 2010

Last modified: April 13, 2010

Applies to: SharePoint Foundation 2010

The Microsoft SharePoint 2010 Software Development Kit (SDK) includes a C# sample that shows how to create a class that represents content and that can be backed up and restored because the class implements the IBackupRestore interface.

To download the SDK

  1. Navigate to http://www.microsoft.com/downloads/details.aspx?FamilyID=f0c9daf3-4c54-45ed-9bde-7b4d83a8f26f&displaylang=en.

  2. Follow the instructions to download and install the SDK.

To use the sample

  1. The sample is a ZIP file located in a subfolder of %PROGRAMFILES%\Microsoft SDKs. Extract the files, preserving the folder structure.

  2. Open the solution file in Microsoft Visual Studio.

  3. Read the ReadMe file included with the sample.

How to create a class that represents content and that can be backed up and restored.

Show:
© 2014 Microsoft