다음을 통해 공유


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