Partager via


Query.SearchApplication Property

NOTE: This API is now obsolete.

Applies to: Microsoft SharePoint Server 2010 search
Gets the Search service application instance for the search query.

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

Syntax

'Declaration
<ObsoleteAttribute> _
Public ReadOnly Property SearchApplication As SearchServiceApplication
    Get
'Usage
Dim instance As Query
Dim value As SearchServiceApplication

value = instance.SearchApplication
[ObsoleteAttribute]
public SearchServiceApplication SearchApplication { get; }

Property Value

Type: Microsoft.Office.Server.Search.Administration.SearchServiceApplication
The Search service application instance.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace