IMobileAlertService.DisableAlert Method

[IMobileAlertService.DisableAlert is no longer available for use as of Windows Server 2012 Essentials.] Disables 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.DisableAlert(alertKey)

Syntax

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

Parameters

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

Return Value

Returns Boolean. true if the target alert has been disabled; 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.