SearchServiceApplication.DeleteQueryFromSet 方法
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function DeleteQueryFromSet ( _
searchObjectOwner As SearchObjectOwner, _
QuerySetId As Integer, _
userQuery As String _
) As Integer
用法
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim QuerySetId As Integer
Dim userQuery As String
Dim returnValue As Integer
returnValue = instance.DeleteQueryFromSet(searchObjectOwner, _
QuerySetId, userQuery)
public int DeleteQueryFromSet(
SearchObjectOwner searchObjectOwner,
int QuerySetId,
string userQuery
)
参数
- searchObjectOwner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner
- QuerySetId
类型:System.Int32
- userQuery
类型:System.String
返回值
类型:System.Int32