ExchangeServiceBinding.DeleteItem, méthode (Microsoft.SharePoint.Portal.WebControls)
Deletes an item in the Microsoft Exchange Server 2007 data store.
Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<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
'Utilisation
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
)
Paramètres
- DeleteItem1
An item to delete.
Voir aussi
Référence
ExchangeServiceBinding, classe
Membres ExchangeServiceBinding
Microsoft.SharePoint.Portal.WebControls, espace de noms