Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetDefaultProvider method

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:
© 2015 Microsoft