Application.CheckSignatureOnLoad Property

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

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
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)

Property Value

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

Example

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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