ExchangeServiceBinding.GetItem Method
The GetItem method sends the request to and gets the response from a GetItem operation.
Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)
Syntax
'Declaration
<SoapHeaderAttribute("ServerVersionInfoValue", Direction:=SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetItem", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Bare)> _
Public Function GetItem ( _
GetItem1 As GetItemType _
) As GetItemResponseType
[SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)]
public GetItemResponseType GetItem (
GetItemType GetItem1
)
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction=SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"ExchangeImpersonation")]
[SoapHeaderAttribute(L"RequestServerVersionValue")]
[SoapHeaderAttribute(L"MailboxCulture")]
[SoapHeaderAttribute(L"SerializedSecurityContext")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/GetItem", Use=SoapBindingUse::Literal, ParameterStyle=SoapParameterStyle::Bare)]
public:
GetItemResponseType^ GetItem (
GetItemType^ GetItem1
)
/** @attribute SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out) */
/** @attribute SoapHeaderAttribute("ExchangeImpersonation") */
/** @attribute SoapHeaderAttribute("RequestServerVersionValue") */
/** @attribute SoapHeaderAttribute("MailboxCulture") */
/** @attribute SoapHeaderAttribute("SerializedSecurityContext") */
/** @attribute SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare) */
public GetItemResponseType GetItem (
GetItemType GetItem1
)
SoapHeaderAttribute("ServerVersionInfoValue", Direction=SoapHeaderDirection.Out)
SoapHeaderAttribute("ExchangeImpersonation")
SoapHeaderAttribute("RequestServerVersionValue")
SoapHeaderAttribute("MailboxCulture")
SoapHeaderAttribute("SerializedSecurityContext")
SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetItem", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Bare)
public function GetItem (
GetItem1 : GetItemType
) : GetItemResponseType
Parameters
- GetItem1
An instance of the GetItemType class that represents the set of items to get.
Return Value
The GetItem method returns a GetItemResponseType object that contains the status of the GetItem operation and the set of items.
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 XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
See Also
Reference
ExchangeServiceBinding Class
ExchangeServiceBinding Members
ExchangeWebServices Namespace