Condividi tramite


MessageQueueTask.UseEncryption Property

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

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

Sintassi

'Dichiarazione
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)

Valore proprietà

true indicates that encryption is used; false indicates that encryption is not used.

Osservazioni

Testo aggiornato:14 aprile 2006

The default value of this property is false.

ms210265.note(it-it,SQL.90).gifImportante:
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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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