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


IDTSCustomProperty90.EncryptionRequired Property

Gets or sets a value indicating whether the Value in an IDTSCustomProperty90 object must be encrypted.

Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Синтаксис

'Декларация
<DispIdAttribute(103)> _
Property EncryptionRequired As Boolean
[DispIdAttribute(103)] 
bool EncryptionRequired { get; set; }
[DispIdAttribute(103)] 
property bool EncryptionRequired {
    bool get ();
    void set ([InAttribute] bool pbEnryptionRequired);
}
/** @property */
/** @attribute DispIdAttribute(103) */ 
boolean get_EncryptionRequired ()

/** @property */
/** @attribute DispIdAttribute(103) */ 
void set_EncryptionRequired (/** @attribute InAttribute() */ boolean pbEnryptionRequired)
DispIdAttribute(103) 
function get EncryptionRequired () : boolean

DispIdAttribute(103) 
function set EncryptionRequired (pbEnryptionRequired : boolean)

Значение свойства

true if the IDTSCustomProperty90 should be encrypted; otherwise, false. The default is false.

Замечания

Use the EncryptionRequired property to protect sensitive information contained in the values of IDTSCustomProperty90 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.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

IDTSCustomProperty90 Interface
IDTSCustomProperty90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace