SearchProxyInfo constructor

Initializes a new instance of the SearchProxyInfo class based on the HTTP proxy settings.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub New ( _
    useCrawlProxyForFederation As Boolean, _
    crawlProxy As WebProxy _
)
'Usage
Dim useCrawlProxyForFederation As Boolean
Dim crawlProxy As WebProxy

Dim instance As New SearchProxyInfo(useCrawlProxyForFederation, _
    crawlProxy)
public SearchProxyInfo(
    bool useCrawlProxyForFederation,
    WebProxy crawlProxy
)

Parameters

  • useCrawlProxyForFederation
    Type: System.Boolean

    true to use the crawl proxy settings for federated searches; otherwise, false.

  • crawlProxy
    Type: System.Net.WebProxy

    The HTTP proxy server settings used when crawling other servers.

See also

Reference

SearchProxyInfo class

SearchProxyInfo members

Microsoft.Office.Server.Search.Administration namespace