SqlConnectionEncryptOption.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Implicit(SqlConnectionEncryptOption to Boolean) |
Enables implicit converstion of a SqlConnectionEncryptOption to a boolean. Mandatory and Strict convert to |
Implicit(Boolean to SqlConnectionEncryptOption) |
Enables implicit converstion of a boolean to a SqlConnectionEncryptOption. A value of |
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
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.