SearchAlert Constructor
Initializes a new instance of the SearchAlert class.
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub New ( _
site As SPSite, _
alertQuery As Query _
)
'Usage
Dim site As SPSite
Dim alertQuery As Query
Dim instance As New SearchAlert(site, alertQuery)
public SearchAlert(
SPSite site,
Query alertQuery
)
Parameters
- site
Type: Microsoft.SharePoint.SPSite
alertQuery
Type: Microsoft.Office.Server.Search.Query.QueryThe query text for the search alert.