共用方式為


PackageRemote64Class.CheckSignatureOnLoad 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets a value indicating whether the digital signature is checked when a package is loaded.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Property CheckSignatureOnLoad As Boolean 
    Get 
    Set
'用途
Dim instance As PackageRemote64Class 
Dim value As Boolean 

value = instance.CheckSignatureOnLoad

instance.CheckSignatureOnLoad = value
public virtual bool CheckSignatureOnLoad { get; set; }
public:
virtual property bool CheckSignatureOnLoad {
    bool get ();
    void set (bool value);
}
abstract CheckSignatureOnLoad : bool with get, set 
override CheckSignatureOnLoad : bool with get, set
function get CheckSignatureOnLoad () : boolean 
function set CheckSignatureOnLoad (value : boolean)

屬性值

型別:System.Boolean
true if the digital signature is validated when the package is loaded; otherwise, false. The default is true.

實作

IDTSPackage100.CheckSignatureOnLoad

備註

If CheckSignatureOnLoad is enabled, Integration Services examines the package for a digital signature when the package is loaded. If the signature is valid, the package opens without any messages being sent to the user. If the certificate is not valid or not valid or not trusted, a warning message appears and allows the user to interactively decide whether to trust the contents.

請參閱

參考

PackageRemote64Class 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間