다음을 통해 공유


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