Share via


AlertCollection.Item property

Gets the specified search alert from the collection of alerts for site.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    alertID As Guid _
) As SearchAlert
    Get
'Usage
Dim instance As AlertCollection
Dim alertID As Guid
Dim value As SearchAlert

value = instance(alertID)
public SearchAlert this[
    Guid alertID
] { get; }

Parameters

  • alertID
    Type: System.Guid

    A GUID that identifies the search alert.

Property value

Type: Microsoft.Office.Server.Search.Query.SearchAlert
A SearchAlert object that represents the alert.

See also

Reference

AlertCollection class

AlertCollection members

Microsoft.Office.Server.Search.Query namespace