IDTSCustomProperty100.EncryptionRequired Property

Definition

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

Property Value

Boolean

如果IDTSCustomProperty100必须对对象加密, 则为 true ; 否则为falsetrue if the IDTSCustomProperty100 object must be encrypted; otherwise, false. 默认值为 falseThe default is false.

Attributes

Remarks

使用 EncryptionRequired 属性可以保护IDTSCustomProperty100对象的值中包含的敏感信息。Use the EncryptionRequired property to protect sensitive information contained in the values of IDTSCustomProperty100 objects. 如果将此属性设置为 " true", 则在保存包时, 自定义属性的Value属性将完全加密或删除, 具体取决DTSProtectionLevel于包的属性。When you set this property to true, the Value property of the custom property is either encrypted or removed completely when you save the package, depending on the DTSProtectionLevel property of the package. 如果为 DontSaveSensitive , 则 EncryptionRequired 为true的自定义属性的值不会与包一起保存。 DTSProtectionLevelWhen the DTSProtectionLevel is DontSaveSensitive, the Value of custom properties where EncryptionRequired is true are not persisted with the package. DTSProtectionLevel包含除DontSaveSensitive以外的任何值时, EncryptionRequired 为true的自定义属性的将通过加密保存在持久化包中。When DTSProtectionLevel has any value other than DontSaveSensitive, the Value of custom properties where EncryptionRequired is true are saved with encryption in the persisted package.

Applies to