ExchangeCredentials.Implicit 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Implicit(CredentialCache to ExchangeCredentials) |
从 T:System.Net.CredentialCacheExchangeCredentials 类对象执行隐式转换。 |
Implicit(NetworkCredential to ExchangeCredentials) |
执行从 System.Net 凭据到 Exchange 凭据的隐式转换。 这将启用 T:System.Net.NetworkCredentialExchangeCredentials 对象,该对象在类对象上 ExchangeService 设置凭据时很有用。 |
Implicit(CredentialCache to ExchangeCredentials)
从 T:System.Net.CredentialCacheExchangeCredentials 类对象执行隐式转换。
public:
static operator Microsoft::Exchange::WebServices::Data::ExchangeCredentials ^(System::Net::CredentialCache ^ credentials);
public static implicit operator Microsoft.Exchange.WebServices.Data.ExchangeCredentials (System.Net.CredentialCache credentials);
Public Shared Widening Operator CType (credentials As CredentialCache) As ExchangeCredentials
参数
- credentials
- CredentialCache
要转换的凭据。
返回
转换的结果。
适用于
Implicit(NetworkCredential to ExchangeCredentials)
执行从 System.Net 凭据到 Exchange 凭据的隐式转换。 这将启用 T:System.Net.NetworkCredentialExchangeCredentials 对象,该对象在类对象上 ExchangeService 设置凭据时很有用。
public:
static operator Microsoft::Exchange::WebServices::Data::ExchangeCredentials ^(System::Net::NetworkCredential ^ credentials);
public static implicit operator Microsoft.Exchange.WebServices.Data.ExchangeCredentials (System.Net.NetworkCredential credentials);
Public Shared Widening Operator CType (credentials As NetworkCredential) As ExchangeCredentials
参数
- credentials
- NetworkCredential
凭据。
返回
转换的结果。