IMobileAlertService.ClearAlert Method

[IMobileAlertService.ClearAlert is no longer available for use as of Windows Server 2012 Essentials.] Clears an alert.

Namespace: Microsoft.WindowsServerSolutions.Mobile.Web.Alerts
Assembly: MobileWeb (in MobileWeb.dll)

Usage

'Usage
Dim instance As IMobileAlertService
Dim alertKey As String
Dim returnValue As Boolean

returnValue = instance.ClearAlert(alertKey)

Syntax

'Declaration
<OperationContractAttribute> _
Function ClearAlert ( _
    alertKey As String _
) As Boolean
[OperationContractAttribute] 
bool ClearAlert (
    string alertKey
)
[OperationContractAttribute] 
bool ClearAlert (
    String^ alertKey
)
/** @attribute OperationContractAttribute() */ 
boolean ClearAlert (
    String alertKey
)
OperationContractAttribute 
function ClearAlert (
    alertKey : String
) : boolean

Parameters

  • alertKey
    Key (ID) of the target alert to clear.

Return Value

Returns Boolean. true if the target alert has been cleared; otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64

See Also

Reference

IMobileAlertService Interface
IMobileAlertService Members
Microsoft.WindowsServerSolutions.Mobile.Web.Alerts Namespace

Copyright © 2012 by Microsoft Corporation. All rights reserved.