다음을 통해 공유


MessageQueueTask.UseEncryption 속성

Gets or sets a Boolean indicating whether the message uses encryption.

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

구문

‘선언
Public Property UseEncryption As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As MessageQueueTask 
Dim value As Boolean 

value = instance.UseEncryption

instance.UseEncryption = value
public bool UseEncryption { get; set; }
public:
virtual property bool UseEncryption {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract UseEncryption : bool with get, set 
override UseEncryption : bool with get, set
final function get UseEncryption () : boolean 
final function set UseEncryption (value : boolean)

속성 값

유형: System.Boolean
true indicates that encryption is used; false indicates that encryption is not used.

구현

IMessageQueueTask.UseEncryption

주의

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 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 네임스페이스