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 对象必须加密,则为 true;否则,就是假的。 默认值为 false

属性

注解

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

适用于