QueryProvider.SetProperty Method

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. The Enterprise Search in Microsoft Office SharePoint Server 2007 query object model is implemented in the Microsoft.Office.Server.Search.Query namespace.

Namespace:  Microsoft.SharePoint.Portal.Search
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Sub SetProperty ( _
    strPropertyName As String, _
    strPropertyValue As String _
)
'Usage
Dim instance As QueryProvider
Dim strPropertyName As String
Dim strPropertyValue As String

instance.SetProperty(strPropertyName, _
    strPropertyValue)
public void SetProperty(
    string strPropertyName,
    string strPropertyValue
)

Parameters

  • strPropertyName
    Type: System.String
    This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.
  • strPropertyValue
    Type: System.String
    This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead.

See Also

Reference

QueryProvider Class

QueryProvider Members

Microsoft.SharePoint.Portal.Search Namespace

Other Resources

Enterprise Search Architecture

Querying Enterprise Search

Managing Metadata