UIConnectionInfoUtil.SetEncryptConnection Method

Definition

Stores encrypt connection option in the specified UIConnectionInfo object.

Overloads

SetEncryptConnection(UIConnectionGroupInfo, Boolean)

Stores the encrypt connection option in the specified UIConnectionInfo object with the specified connection information in the list and encryption value.

SetEncryptConnection(UIConnectionInfo, Boolean)

Stores the Encrypt connection option in the specified UIConnectionInfo object that has the specified connection information and encryption value.

SetEncryptConnection(UIConnectionGroupInfo, Boolean)

Stores the encrypt connection option in the specified UIConnectionInfo object with the specified connection information in the list and encryption value.

public:
 static void SetEncryptConnection(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList, bool encryptValue);
public static void SetEncryptConnection (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList, bool encryptValue);
static member SetEncryptConnection : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo * bool -> unit
Public Shared Sub SetEncryptConnection (connectionInfoList As UIConnectionGroupInfo, encryptValue As Boolean)

Parameters

connectionInfoList
UIConnectionGroupInfo

The list of the connection information.

encryptValue
Boolean

true to encrypt connections; otherwise, false.

Applies to

SetEncryptConnection(UIConnectionInfo, Boolean)

Stores the Encrypt connection option in the specified UIConnectionInfo object that has the specified connection information and encryption value.

public:
 static void SetEncryptConnection(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci, bool encryptValue);
public static void SetEncryptConnection (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci, bool encryptValue);
static member SetEncryptConnection : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * bool -> unit
Public Shared Sub SetEncryptConnection (ci As UIConnectionInfo, encryptValue As Boolean)

Parameters

ci
UIConnectionInfo

The information of the connection.

encryptValue
Boolean

true to encrypt connections; otherwise, false.

Applies to