Partager via


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
public ExchangeImpersonationType ExchangeImpersonation { get; set; }
public:
property ExchangeImpersonationType^ ExchangeImpersonation {
    ExchangeImpersonationType^ get ();
    void set (ExchangeImpersonationType^ value);
}
/** @property */
public ExchangeImpersonationType get_ExchangeImpersonation ()

/** @property */
public void set_ExchangeImpersonation (ExchangeImpersonationType value)
public function get ExchangeImpersonation () : ExchangeImpersonationType

public function set ExchangeImpersonation (value : ExchangeImpersonationType)

Property Value

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.

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)