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

属性值

Boolean

如果检查点文件已加密,则为 true;否则为 false。

属性

示例

下面的代码示例将 EncryptCheckpoints 设置为 false.

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  

适用于