Partager 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