DocumentIdProvider.GetDocumentUrlsById Method
SharePoint 2010
Implements a custom search method; returns an array of URLs pointing to documents with a specified DocumentId value.
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Parameters
- site
- Type: Microsoft.SharePoint.SPSite
SPSite object that specifies the site in which to search for documents with the provided DocumentId object.
- documentId
- Type: System.String
A SPSite object that specifies the site in which to search for documents with the provided DocumentId object.
Return Value
Type: System.String[]A string arrays of URLs pointing to documents with the specified Document ID.
Documentation for documentID parameter missing.
I'm wondering whether this method will also allow me to search for partial document IDs. However, the documentation above erroneously duplicates the documentation of the site parameter, so that doesn't really help much.
- 6/14/2010
- Paul-Jan
- 7/12/2010
- Thomas Lee