Share via


SqlConnectionEncryptOption.Implicit Operator

Definition

Overloads

Implicit(SqlConnectionEncryptOption to Boolean)

Enables implicit converstion of a SqlConnectionEncryptOption to a boolean. Mandatory and Strict convert to true. Optional converts to false.

Implicit(Boolean to SqlConnectionEncryptOption)

Enables implicit converstion of a boolean to a SqlConnectionEncryptOption. A value of true converts to Mandatory. A value of false converts to Optional.

Implicit(SqlConnectionEncryptOption to Boolean)

Enables implicit converstion of a SqlConnectionEncryptOption to a boolean. Mandatory and Strict convert to true. Optional converts to false.

public:
 static operator bool(Microsoft::Data::SqlClient::SqlConnectionEncryptOption ^ value);
public static implicit operator bool (Microsoft.Data.SqlClient.SqlConnectionEncryptOption value);
static member op_Implicit : Microsoft.Data.SqlClient.SqlConnectionEncryptOption -> bool
Public Shared Widening Operator CType (value As SqlConnectionEncryptOption) As Boolean

Parameters

value
SqlConnectionEncryptOption

The SqlConnectionEncryptOption value to be used for implicit comparison.

Returns

Applies to

Implicit(Boolean to SqlConnectionEncryptOption)

Enables implicit converstion of a boolean to a SqlConnectionEncryptOption. A value of true converts to Mandatory. A value of false converts to Optional.

public:
 static operator Microsoft::Data::SqlClient::SqlConnectionEncryptOption ^(bool value);
public static implicit operator Microsoft.Data.SqlClient.SqlConnectionEncryptOption (bool value);
static member op_Implicit : bool -> Microsoft.Data.SqlClient.SqlConnectionEncryptOption
Public Shared Widening Operator CType (value As Boolean) As SqlConnectionEncryptOption

Parameters

value
Boolean

The boolean value to be used for implicit comparison.

Returns

Applies to