Share via


MessageQueueTask.EncryptionAlgo Property

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

Namespace: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property EncryptionAlgo As EncryptionAlgorithmWrapper
[BrowsableAttribute(false)] 
public EncryptionAlgorithmWrapper EncryptionAlgo { get; set; }
[BrowsableAttribute(false)] 
public:
virtual property EncryptionAlgorithmWrapper^ EncryptionAlgo {
    EncryptionAlgorithmWrapper^ get () sealed;
    void set (EncryptionAlgorithmWrapper^ value) sealed;
}
/** @property */
public final EncryptionAlgorithmWrapper get_EncryptionAlgo ()

/** @property */
public final void set_EncryptionAlgo (EncryptionAlgorithmWrapper value)
public final function get EncryptionAlgo () : EncryptionAlgorithmWrapper

public final function set EncryptionAlgo (value : EncryptionAlgorithmWrapper)

Property Value

The name of the encryption algorithm.

Remarks

Updated text:14 April 2006

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.

Important

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MessageQueueTask Class
MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace