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.StringThis 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.StringThis 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
Microsoft.SharePoint.Portal.Search Namespace