ExchangeCredentials - преобразование (NetworkCredential to ExchangeCredentials)
Performs an implicit conversion from
NetworkCredential to
ExchangeCredentials.
This allows a NetworkCredential object to be implictly converted to an ExchangeCredential which is useful when setting
credentials on an ExchangeService.
Пространство имён: Tessa.Exchange.WebServices.DataСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
public static implicit operator ExchangeCredentials (
NetworkCredential credentials
)
Public Shared Widening Operator CType (
credentials As NetworkCredential
) As ExchangeCredentials
static implicit operator ExchangeCredentials^ (
NetworkCredential^ credentials
)
F# не поддерживает объявление новых операторов приведения.
- credentials NetworkCredential
- The credentials.
ExchangeCredentialsThe result of the conversion.
This operator allows you to type:
service.Credentials = new NetworkCredential("username","password");
instead of:
service.Credentials = new WebCredentials(new NetworkCredential("username","password"));