Package.EncryptCheckpoints 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示是否对检查点文件加密。
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
属性值
如果检查点文件已加密,则为 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