Share via


ExchangeServiceBinding.DeleteItem Method

Deletes an item in the Microsoft Exchange Server 2007 data store.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
Public Function DeleteItem ( _
    DeleteItem1 As DeleteItemType _
) As DeleteItemResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteItem1 As DeleteItemType
Dim returnValue As DeleteItemResponseType

returnValue = instance.DeleteItem(DeleteItem1)
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
public DeleteItemResponseType DeleteItem(
    DeleteItemType DeleteItem1
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.DeleteItemResponseType

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace