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 命名空间