다음을 통해 공유


MessageQueueTask.EncryptionAlgo 속성

Gets or sets the name of the encryption algorithm used to encrypt the message body of a private message.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
어셈블리:  Microsoft.SqlServer.MSMQTask(Microsoft.SqlServer.MSMQTask.dll)

구문

‘선언
<BrowsableAttribute(False)> _
Public Property EncryptionAlgo As EncryptionAlgorithmWrapper 
    Get 
    Set
‘사용 방법
Dim instance As MessageQueueTask 
Dim value As EncryptionAlgorithmWrapper 

value = instance.EncryptionAlgo

instance.EncryptionAlgo = value
[BrowsableAttribute(false)]
public EncryptionAlgorithmWrapper EncryptionAlgo { get; set; }
[BrowsableAttribute(false)]
public:
virtual property EncryptionAlgorithmWrapper^ EncryptionAlgo {
    EncryptionAlgorithmWrapper^ get () sealed;
    void set (EncryptionAlgorithmWrapper^ value) sealed;
}
[<BrowsableAttribute(false)>]
abstract EncryptionAlgo : EncryptionAlgorithmWrapper with get, set
[<BrowsableAttribute(false)>]
override EncryptionAlgo : EncryptionAlgorithmWrapper with get, set
final function get EncryptionAlgo () : EncryptionAlgorithmWrapper 
final function set EncryptionAlgo (value : EncryptionAlgorithmWrapper)

속성 값

유형: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.EncryptionAlgorithmWrapper
The name of the encryption algorithm.

구현

IMessageQueueTask.EncryptionAlgo

주의

The Message Queue task supports the RC2 and RC4 algorithms. The default value of this property is RC2. For more information, see "EncryptionAlgorithm Enumeration" in the .NET Framework Class Library. The EncryptionAlgorithm enumeration is in the System.Messaging namespace.

중요 정보중요

When configuring the Message Queue task to send messages, you can use one of the encryption algorithms that are currently supported by the Message Queuing (also known as MSMQ), 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.

참고 항목

참조

MessageQueueTask 클래스

Microsoft.SqlServer.Dts.Tasks.MessageQueueTask 네임스페이스