IDTSCustomProperty100.EncryptionRequired 属性

定义

public:
 property bool EncryptionRequired { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(103)]
public bool EncryptionRequired { [System.Runtime.InteropServices.DispId(103)] get; [System.Runtime.InteropServices.DispId(103)] set; }
[<System.Runtime.InteropServices.DispId(103)>]
[<get: System.Runtime.InteropServices.DispId(103)>]
[<set: System.Runtime.InteropServices.DispId(103)>]
member this.EncryptionRequired : bool with get, set
Public Property EncryptionRequired As Boolean

属性值

如果IDTSCustomProperty100对象必须加密,则为;否则为。 默认值为 false

属性

注解

使用EncryptionRequired属性来保护对象值 IDTSCustomProperty100 中包含的敏感信息。 当你将该属性设置为 true时,custom 属性的Value属性会被加密或完全移除,具体取决于包的 DTSProtectionLevel 属性。 当 是 DTSProtectionLevel DontSaveSensitive 时,EncryptionRequired 为 的自定义属性的 Value 不会被包持久化。 当 DTSProtectionLevel 值 除了 DontSaveSensitive 外,EncryptionRequired 为 且自定义属性的值会随加密保存在持久包中。

适用于