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

屬性

備註

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

適用於