DocumentId.SetDefaultProvider Method
SharePoint 2010
Resets the DocumentIdProvider value of a SPSite to its default value.
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Parameters
- site
- Type: Microsoft.SharePoint.SPSite
SPSite object on which to reset the DocumentIdProvider value
| Exception | Condition |
|---|---|
| ArgumentNullException |
SPSite is set to null |