EncryptionAlgorithmWrapper.EncryptionAlgo Property
Gets or sets the encryption algorithm used to encrypt the message body of a private message.
命名空間: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
組件: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)
語法
'宣告
<ComVisibleAttribute(True)> _
Public Property EncryptionAlgo As EncryptionAlgorithm
[ComVisibleAttribute(true)]
public EncryptionAlgorithm EncryptionAlgo { get; set; }
[ComVisibleAttribute(true)]
public:
property EncryptionAlgorithm EncryptionAlgo {
EncryptionAlgorithm get ();
void set (EncryptionAlgorithm value);
}
/** @property */
public EncryptionAlgorithm get_EncryptionAlgo ()
/** @property */
public void set_EncryptionAlgo (EncryptionAlgorithm value)
public function get EncryptionAlgo () : EncryptionAlgorithm
public function set EncryptionAlgo (value : EncryptionAlgorithm)
屬性值
A valid value from the EncryptionAlgorithm enumeration. The EncryptionAlgorithm is an enumeration in the .NET Framework Class Library, and is in the System.Messaging namespace.
備註
The default encryption value is Rc2. Other valid values are None, when there is no encryption, and Rc4, which corresponds to the less secure option.
![]() |
---|
When configuring the Message Queue task to send messages, you can use one of the encryption algorithms, either Rc2 or Rc4, that are currently supported by Message Queuing (also known as MSMQ) to encrypt the message. Both of these encryption algorithms are now considered cryptographically weak compared to newer algorithms, which Microsoft Message Queuing technology does not yet support. Therefore, you should consider your cryptography needs carefully when sending messages using the Message Queue task. |
執行緒安全性
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
EncryptionAlgorithmWrapper Class
EncryptionAlgorithmWrapper Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace