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 对象必须加密,则为 true;否则,就是假的。 默认值为 false。
- 属性
注解
使用EncryptionRequired属性来保护IDTSCustomProperty100对象值中包含的敏感信息。 当你将该属性设置为 true,custom 属性的 Value 属性会被加密或完全移除,具体取决于包的 DTSProtectionLevel 属性。 当DTSProtectionLevel为DontSaveSensitive时,EncryptionRequired为 真 的自定义属性的值不会随包持续保存。 当DTSProtectionLevel的值除了DontSaveSensitive外,EncryptionRequired为 真 且自定义属性的值会随加密保存在持久包中。