AlertCollection.Exists method

Returns a Boolean value that indicates whether the specified search alert exists in the alert collection.

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

Syntax

'Declaration
Public Function Exists ( _
    alertID As Guid _
) As Boolean
'Usage
Dim instance As AlertCollection
Dim alertID As Guid
Dim returnValue As Boolean

returnValue = instance.Exists(alertID)
public bool Exists(
    Guid alertID
)

Parameters

  • alertID
    Type: System.Guid

    A GUID that identifies the search alert.

Return value

Type: System.Boolean
true if the search alert exists in the alert collection; otherwise false.

See also

Reference

AlertCollection class

AlertCollection members

Microsoft.Office.Server.Search.Query namespace