共用方式為


SqlConnectionEncryptOption.Implicit 運算子

定義

多載

Implicit(SqlConnectionEncryptOption to Boolean)

啟用布林值的隱含串連 SqlConnectionEncryptOptionMandatoryStrict 轉換為 trueOptional 轉換為 false

Implicit(Boolean to SqlConnectionEncryptOption)

啟用布林值的 SqlConnectionEncryptOption 隱含串連。 的值 trueMandatory 轉換成 。 的值 falseOptional 轉換成 。

Implicit(SqlConnectionEncryptOption to Boolean)

啟用布林值的隱含串連 SqlConnectionEncryptOptionMandatoryStrict 轉換為 trueOptional 轉換為 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

參數

value
SqlConnectionEncryptOption

SqlConnectionEncryptOption要用於隱含比較的值。

傳回

適用於

Implicit(Boolean to SqlConnectionEncryptOption)

啟用布林值的 SqlConnectionEncryptOption 隱含串連。 的值 trueMandatory 轉換成 。 的值 falseOptional 轉換成 。

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

參數

value
Boolean

要用於隱含比較的布林值。

傳回

適用於