Edit

Share via


ExchangeCredentials.Implicit Operator

Definition

Overloads

Implicit(CredentialCache to ExchangeCredentials)

Performs an implicit conversion from a T:System.Net.CredentialCacheExchangeCredentials class object.

Implicit(NetworkCredential to ExchangeCredentials)

Performs an implicit conversion from System.Net credentials to Exchange credentials. This enables a T:System.Net.NetworkCredentialExchangeCredentials object, which is useful when setting credentials on an ExchangeService class object.

Implicit(CredentialCache to ExchangeCredentials)

Performs an implicit conversion from a T:System.Net.CredentialCacheExchangeCredentials class object.

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

Parameters

credentials
CredentialCache

The credentials to convert.

Returns

The result of the conversion.

Applies to

Implicit(NetworkCredential to ExchangeCredentials)

Performs an implicit conversion from System.Net credentials to Exchange credentials. This enables a T:System.Net.NetworkCredentialExchangeCredentials object, which is useful when setting credentials on an ExchangeService class object.

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

Parameters

credentials
NetworkCredential

The credentials.

Returns

The result of the conversion.

Applies to