Partager via


Query.DirectServiceEndpointUri Property

Gets or sets the address the Search service application proxy should use instead of the URL 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