Share via


SqlConnectionEncryptOption.Parse(String) Method

Definition

Converts the specified string representation of a logical value to its SqlConnectionEncryptOption equivalent.

public:
 static Microsoft::Data::SqlClient::SqlConnectionEncryptOption ^ Parse(System::String ^ value);
public static Microsoft.Data.SqlClient.SqlConnectionEncryptOption Parse (string value);
static member Parse : string -> Microsoft.Data.SqlClient.SqlConnectionEncryptOption
Public Shared Function Parse (value As String) As SqlConnectionEncryptOption

Parameters

value
String

A string containing the value to convert.

Returns

An object that is equivalent to SqlConnectionEncryptOption contained in value.

Exceptions

Throws exception if provided value is not convertible to SqlConnectionEncryptOption type.

Applies to