IDTSCustomProperty100.EncryptionRequired 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 为 真 且自定义属性的值会随加密保存在持久包中。