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)
Syntax
'Declaration
Public Shared Sub SetDefaultProvider ( _
site As SPSite _
)
'Usage
Dim site As SPSiteDocumentId.SetDefaultProvider(site)
public static void SetDefaultProvider(
SPSite site
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteSPSite object on which to reset the DocumentIdProvider value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | SPSite is set to a null reference (Nothing in Visual Basic) |