Поделиться через


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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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