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。

屬性

範例

下列程式碼範例會將設定 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  

適用於