ExchangeServiceBinding.ExchangeImpersonation Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets an ExchangeImpersonationType object that contains the identifier of the account to impersonate.
Namespace: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.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; }
public:
property ExchangeImpersonationType^ ExchangeImpersonation {
ExchangeImpersonationType^ get ();
void set (ExchangeImpersonationType^ value);
}
member ExchangeImpersonation : ExchangeImpersonationType with get, set
Property Value
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.ExchangeImpersonationType
An 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5
See Also
Reference
ExchangeServiceBinding Members
Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace