Поделиться через


Свойство IDTSCustomProperty100.EncryptionRequired

Gets or sets a value indicating whether the IDTSCustomProperty100 object must be encrypted.

Пространство имен:  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
true if the IDTSCustomProperty100 object must be encrypted; otherwise, false. The default is false.

Замечания

Use the EncryptionRequired property to protect sensitive information contained in the values of IDTSCustomProperty100 objects. 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. When the DTSProtectionLevel is DontSaveSensitive, the Value of custom properties where EncryptionRequired is true are not persisted with the package. 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.

См. также

Справочник

IDTSCustomProperty100 Интерфейс

Пространство имен Microsoft.SqlServer.Dts.Pipeline.Wrapper