Application.CheckSignatureOnLoad Property

Gets or sets a Boolean that indicates whether a Package object should check the signature when loading.

命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

语法

声明
Public Property CheckSignatureOnLoad As Boolean
public bool CheckSignatureOnLoad { get; set; }
public:
property bool CheckSignatureOnLoad {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_CheckSignatureOnLoad ()

/** @property */
public void set_CheckSignatureOnLoad (boolean value)
public function get CheckSignatureOnLoad () : boolean

public function set CheckSignatureOnLoad (value : boolean)

属性值

true indicates that the package checks the signature when loading. false causes the package to ignore the signature. The default is true.

示例

The following code example shows how to retrieve the value of the CheckSignatureOnLoad property.

class ApplicationTests
{
    static void Main(string[] args)
    {
        Application app = new Application();

        Boolean sig = app.CheckSignatureOnLoad;
        Console.Writeline(sig);
    }
}
Class ApplicationTests
    Sub Main(ByVal args() As String)
        Dim app As Application =  New Application() 
 
        Dim sig As Boolean =  app.CheckSignatureOnLoad 
        Console.Writeline(sig)
    End Sub
End Class

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Application Class
Application Members
Microsoft.SqlServer.Dts.Runtime Namespace