DocumentCrawlLog.GetCrawledUrls method

Retrieves information about all the contents that were crawled.

Namespace:  Microsoft.SharePoint.Client.Search.Administration
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)

Syntax

'Declaration
Public Function GetCrawledUrls ( _
    getCountOnly As Boolean, _
    maxRows As Long, _
    queryString As String, _
    isLike As Boolean, _
    contentSourceID As Integer, _
    errorLevel As Integer, _
    errorID As Integer, _
    startDateTime As DateTime, _
    endDateTime As DateTime _
) As ClientResult(Of SimpleDataTable)
'Usage
Dim instance As DocumentCrawlLog
Dim getCountOnly As Boolean
Dim maxRows As Long
Dim queryString As String
Dim isLike As Boolean
Dim contentSourceID As Integer
Dim errorLevel As Integer
Dim errorID As Integer
Dim startDateTime As DateTime
Dim endDateTime As DateTime
Dim returnValue As ClientResult(Of SimpleDataTable)

returnValue = instance.GetCrawledUrls(getCountOnly, _
    maxRows, queryString, isLike, contentSourceID, _
    errorLevel, errorID, startDateTime, _
    endDateTime)
public ClientResult<SimpleDataTable> GetCrawledUrls(
    bool getCountOnly,
    long maxRows,
    string queryString,
    bool isLike,
    int contentSourceID,
    int errorLevel,
    int errorID,
    DateTime startDateTime,
    DateTime endDateTime
)

Parameters

  • getCountOnly
    Type: System.Boolean

    If true, gets the count of the contents crawled. If false, gets all the information about the crawled contents.

  • maxRows
    Type: System.Int64

    Maximum number of rows to be returned. If 0 is specified, all the rows are returned. The number of rows returned will not exceed the number specified by the maxRows parameter, if it is not 0.

  • queryString
    Type: System.String

    Specifies the URL pattern for which crawled documents are returned.

  • isLike
    Type: System.Boolean

    If true, the pattern specified in queryString is used as the prefix while matching the URLs of the crawled content. If false, the pattern specified in queryString exactly matches the URLs of the crawled content.

  • contentSourceID
    Type: System.Int32

    Unique identifier of the content source. If specified, only the crawled contents that are associated with the content source are returned.

  • startDateTime
    Type: System.DateTime

    If set to DateTime.MinValue, returns information about all of the crawled contents. Otherwise, returns information about contents that were crawled after the specified DateTime.

  • endDateTime
    Type: System.DateTime

    If set to DateTime.MaxValue, returns information about all of the crawled contents. Otherwise, returns information about contents that were crawled before the specified DateTime.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<SimpleDataTable>

See also

Reference

DocumentCrawlLog class

DocumentCrawlLog members

Microsoft.SharePoint.Client.Search.Administration namespace