Share via


DocumentIdProvider.GetDocumentUrlsById method

Implements a custom search method; returns an array of URLs pointing to documents with a specified DocumentId value.

Namespace:  Microsoft.Office.DocumentManagement
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public MustOverride Function GetDocumentUrlsById ( _
    site As SPSite, _
    documentId As String _
) As String()
'Usage
Dim instance As DocumentIdProvider
Dim site As SPSite
Dim documentId As String
Dim returnValue As String()

returnValue = instance.GetDocumentUrlsById(site, _
    documentId)
public abstract string[] GetDocumentUrlsById(
    SPSite site,
    string documentId
)

Parameters

Return value

Type: []
A string arrays of URLs pointing to documents with the specified Document ID.

See also

Reference

DocumentIdProvider class

DocumentIdProvider members

Microsoft.Office.DocumentManagement namespace

DoCustomSearchBeforeDefaultSearch