MessageQueueTask.UseEncryption Property
Gets or sets a Boolean indicating whether the message uses encryption.
命名空間: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
組件: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)
語法
'宣告
Public Property UseEncryption As Boolean
public bool UseEncryption { get; set; }
public:
virtual property bool UseEncryption {
bool get () sealed;
void set (bool value) sealed;
}
/** @property */
public final boolean get_UseEncryption ()
/** @property */
public final void set_UseEncryption (boolean value)
public final function get UseEncryption () : boolean
public final function set UseEncryption (value : boolean)
屬性值
true indicates that encryption is used; false indicates that encryption is not used.
備註
更新的文字:2006 年 4 月 14 日
The default value of this property is false.
重要事項: |
---|
When configuring the Message Queue task to send messages, you can use one of the encryption algorithms that are currently supported by Message Queuing, RC2 and RC4, to encrypt the message. Both of these encryption algorithms are now considered cryptographically weak compared to newer algorithms, which Message Queuing 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 的硬體和軟體需求>。
請參閱
參考
MessageQueueTask Class
MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace