ExchangeServiceBinding.ExchangeImpersonation Property
The ExchangeImpersonation property gets or sets an ExchangeImpersonationType object that contains the identifier of the account to impersonate.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
Syntax
'Declaration
Public Property ExchangeImpersonation As ExchangeImpersonationType
Get
Set
'Usage
Dim instance As ExchangeServiceBinding
Dim value As ExchangeImpersonationType
value = instance.ExchangeImpersonation
instance.ExchangeImpersonation = value
public ExchangeImpersonationType ExchangeImpersonation { get; set; }
Property Value
Type: ExchangeWebServices.ExchangeImpersonationType
The ExchangeImpersonation property returns an ExchangeImpersonationType object that contains the identifier of the account to impersonate.
Remarks
The ExchangeImpersonationType object has a ConnectingSID property that contains the identifier of the account to impersonate. This property is serialized into the SOAP header when it is sent to the Exchange server.
See Also