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