DocumentIdProvider.GetSampleDocumentIdText Method
SharePoint 2010
Returns the default Document ID value that will be initially displayed in the Document ID search web part.
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Parameters
- site
- Type: Microsoft.SharePoint.SPSite
An SPSite object that specifies the site in which the web part is located.
Return Value
Type: System.StringA string representing the default Document ID value that will be initially displayed in the Document ID search web part.