Expand Minimize

ExchangeService.DisableApp method

Disables a client extension.

The DisableApp(String, DisableReasonType) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

'Declaration
Public Sub DisableApp ( _
	id As String, _
	disableReason As DisableReasonType _
)
'Usage
Dim instance As ExchangeService
Dim id As String
Dim disableReason As DisableReasonType

instance.DisableApp(id, disableReason)

Parameters

id
Type: System.String

The application identifier.

disableReason
Type: Microsoft.Exchange.WebServices.Data.DisableReasonType

The reason the app is disabled.

Exception will be thrown for errors.

Show:
© 2014 Microsoft