ExchangeServiceBinding.ExchangeImpersonation Property
Gets or sets the account to include in the ExchangeImpersonation element in Microsoft Exchange Server 2007.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.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: ExchangeImpersonationType
String representing the account.
Remarks
The ExchangeImpersonation element is used in the SOAP header of a request. When the element is present, the caller is attempting to impersonate the account that is contained within the ExchangeImpersonation element.