다음을 통해 공유


EncryptionAlgorithmWrapper.EncryptionAlgo 속성

Gets or sets 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)

구문

‘선언
<ComVisibleAttribute(True)> _
Public Property EncryptionAlgo As EncryptionAlgorithm 
    Get 
    Set
‘사용 방법
Dim instance As EncryptionAlgorithmWrapper 
Dim value As EncryptionAlgorithm 

value = instance.EncryptionAlgo

instance.EncryptionAlgo = value
[ComVisibleAttribute(true)]
public EncryptionAlgorithm EncryptionAlgo { get; set; }
[ComVisibleAttribute(true)]
public:
property EncryptionAlgorithm EncryptionAlgo {
    EncryptionAlgorithm get ();
    void set (EncryptionAlgorithm value);
}
[<ComVisibleAttribute(true)>]
member EncryptionAlgo : EncryptionAlgorithm with get, set
function get EncryptionAlgo () : EncryptionAlgorithm 
function set EncryptionAlgo (value : EncryptionAlgorithm)

속성 값

유형: System.Messaging.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) technology 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.

참고 항목

참조

EncryptionAlgorithmWrapper 클래스

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