IDTSCustomProperty100.EncryptionRequired 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,指示对象是否 IDTSCustomProperty100 必须加密。
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设置为 时, Value 保存包时自定义属性的属性要么被加密,要么完全移除,具体取决于包的 DTSProtectionLevel 属性。 当 DTSProtectionLevel 是 DontSaveSensitive时, Value 且 EncryptionRequiredtrue 的自定义属性 中 的 是 ,且 不被包持久化。 当 DTSProtectionLevel 有除 DontSaveSensitive之外的任何值时, Value 自定义属性 EncryptionRequired 中 的 true 是通过加密保存在持久包中。