This topic has not yet been rated - Rate this topic

DocumentIdProvider.DoCustomSearchBeforeDefaultSearch Property

SharePoint 2010

Gets a Boolean value specifying whether the current instance of the provider custom search method (GetDocumentUrlsById()) should be called before built-in search is called when the user is trying to locate a document by its DocumentId value.

Namespace:  Microsoft.Office.DocumentManagement
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
public abstract bool DoCustomSearchBeforeDefaultSearch { get; }

Property Value

Type: System.Boolean
true if the provider custom search method (GetDocumentUrlsById) should be called before built-in search; otherwise, false.

Set this property to true when using [GetDocumentUrlsById] is more efficient than using the default search is when locating a document by its Document ID.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ