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.Booleantrue to use the crawl proxy settings for federated searches; otherwise, false.
crawlProxy
Type: System.Net.WebProxyThe HTTP proxy server settings used when crawling other servers.