Share via


Query.DirectServiceEndpointUri property

Gets or sets the address the Search service application proxy should use instead of the URL that was specified in the constructor for the Search service application proxy.

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

Syntax

'Declaration
Public Property DirectServiceEndpointUri As Uri
    Get
    Set
'Usage
Dim instance As Query
Dim value As Uri

value = instance.DirectServiceEndpointUri

instance.DirectServiceEndpointUri = value
public Uri DirectServiceEndpointUri { get; set; }

Property value

Type: System.Uri
The URL to use for the Search service application proxy.

Remarks

If this property is null, the URL specified in the Search service application proxy constructor should be used; otherwise the URL specified here should be used.

See also

Reference

Query class

Query members

Microsoft.Office.Server.Search.Query namespace