语言

Package.EncryptCheckpoints 属性

定义

获取或设置一个值,指示检查点文件是否加密。

public:
 property bool EncryptCheckpoints { bool get(); void set(bool value); };
[Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyCategory(typeof(Microsoft.SqlServer.Dts.Runtime.Localized), "PropertyCategoryCheckpoints")]
[Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyDescription(typeof(Microsoft.SqlServer.Dts.Runtime.Localized), "EncryptCheckpointsDesc")]
[System.ComponentModel.Browsable(false)]
public bool EncryptCheckpoints { get; set; }
[<Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyCategory(typeof(Microsoft.SqlServer.Dts.Runtime.Localized), "PropertyCategoryCheckpoints")>]
[<Microsoft.SqlServer.Dts.Runtime.Localization.LocalizablePropertyDescription(typeof(Microsoft.SqlServer.Dts.Runtime.Localized), "EncryptCheckpointsDesc")>]
[<System.ComponentModel.Browsable(false)>]
member this.EncryptCheckpoints : bool with get, set
Public Property EncryptCheckpoints As Boolean

属性值

如果检查点文件是加密的,则为真;否则,就是假的。

属性

示例

以下代码示例将 设置为 EncryptCheckpointsfalse

Application app = new Application();  
Package pkg = new Package();  
pkg. EncryptCheckpoints = false;  
Dim app As Application = New Application()   
Dim pkg As Package = New Package()   
pkg.EncryptCheckpoints = False  

适用于