Partager via


IDTSCustomProperty90.EncryptionRequired Property

Gets or sets a value indicating whether the Value in an IDTSCustomProperty90 object must be encrypted.

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
<DispIdAttribute(103)> _
Property EncryptionRequired As Boolean
[DispIdAttribute(103)] 
bool EncryptionRequired { get; set; }
[DispIdAttribute(103)] 
property bool EncryptionRequired {
    bool get ();
    void set ([InAttribute] bool pbEnryptionRequired);
}
/** @property */
/** @attribute DispIdAttribute(103) */ 
boolean get_EncryptionRequired ()

/** @property */
/** @attribute DispIdAttribute(103) */ 
void set_EncryptionRequired (/** @attribute InAttribute() */ boolean pbEnryptionRequired)
DispIdAttribute(103) 
function get EncryptionRequired () : boolean

DispIdAttribute(103) 
function set EncryptionRequired (pbEnryptionRequired : boolean)

Valeur de propriété

true if the IDTSCustomProperty90 should be encrypted; otherwise, false. The default is false.

Notes

Use the EncryptionRequired property to protect sensitive information contained in the values of IDTSCustomProperty90 objects. When you set this property to true, the Value property of the custom property is either encrypted or removed completely when you save the package, depending on the DTSProtectionLevel property of the package. When the DTSProtectionLevel is DontSaveSensitive, the Value of custom properties where EncryptionRequired is true are not persisted with the package. When DTSProtectionLevel has any value other than DontSaveSensitive, the Value of custom properties where EncryptionRequired is true are saved with encryption in the persisted package.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

IDTSCustomProperty90 Interface
IDTSCustomProperty90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace