IDTSCustomProperty100.EncryptionRequired プロパティ

IDTSCustomProperty100 オブジェクトを暗号化する必要があるかどうかを示す値を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap.dll)

構文

'宣言
Property EncryptionRequired As Boolean 
    Get 
    Set
'使用
Dim instance As IDTSCustomProperty100 
Dim value As Boolean 

value = instance.EncryptionRequired

instance.EncryptionRequired = value
bool EncryptionRequired { get; set; }
property bool EncryptionRequired {
    bool get ();
    void set (bool value);
}
abstract EncryptionRequired : bool with get, set
function get EncryptionRequired () : boolean 
function set EncryptionRequired (value : boolean)

プロパティ値

型: System.Boolean
IDTSCustomProperty100 オブジェクトを暗号化する必要がある場合は true、暗号化する必要がない場合は false です。既定値は false です。

説明

IDTSCustomProperty100 オブジェクトの値に含まれている機密情報を保護するには、EncryptionRequired プロパティを使用します。 このプロパティを true に設定すると、パッケージを保存する際に、パッケージの DTSProtectionLevel プロパティに応じて、カスタム プロパティの Value プロパティは暗号化されるか、完全に削除されます。 DTSProtectionLevelDontSaveSensitive の場合、EncryptionRequired が true であるカスタム プロパティの Value はパッケージで保存されません。 DTSProtectionLevelDontSaveSensitive 以外の値があるとき、EncryptionRequired が true であるカスタム プロパティの Value は、暗号化されてパッケージで保存されます。

関連項目

参照

IDTSCustomProperty100 インターフェイス

Microsoft.SqlServer.Dts.Pipeline.Wrapper 名前空間