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

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

DocumentId Class

DocumentId Members

Microsoft.Office.DocumentManagement Namespace

GetProvider(SPSite)

SetProvider(SPSite, DocumentIdProvider)