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物件必須加密,則為;否則為。 預設值為 false

屬性

備註

請使用 EncryptionRequired 屬性來保護物件值 IDTSCustomProperty100 中包含的敏感資訊。 當你將此屬性設 為 true,自訂屬性的 Value 屬性會被加密或完全移除,視套件屬性而定 DTSProtectionLevel 。 當 是 DTSProtectionLevel DontSaveSensitive 時,EncryptionRequired 為 真的 自訂屬性的 Value 不會隨套件持續存在。 當 DTSProtectionLevel 值非 DontSaveSensitive 時,EncryptionRequired 為 且自訂屬性的值會隨加密保存在持久化套件中。

適用於