DocumentId.SetDefaultProvider method

Resets the DocumentIdProvider value of a SPSite to its default value.

Namespace:  Microsoft.Office.DocumentManagement
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

public static void SetDefaultProvider(
	SPSite site
)

Parameters

site
Type: Microsoft.SharePoint.SPSite

SPSite object on which to reset the DocumentIdProvider value

ExceptionCondition
ArgumentNullException

SPSite is set to a null reference (Nothing in Visual Basic)

Show: