PackageInfo.Validate 方法

定義

驗證指定的封裝。

public:
 long Validate(bool use32RuntimeOn64, Microsoft::SqlServer::Management::IntegrationServices::PackageInfo::ReferenceUsage referenceUsage, Microsoft::SqlServer::Management::IntegrationServices::EnvironmentReference ^ reference);
public long Validate (bool use32RuntimeOn64, Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ReferenceUsage referenceUsage, Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference reference);
override this.Validate : bool * Microsoft.SqlServer.Management.IntegrationServices.PackageInfo.ReferenceUsage * Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference -> int64
Public Function Validate (use32RuntimeOn64 As Boolean, referenceUsage As PackageInfo.ReferenceUsage, reference As EnvironmentReference) As Long

參數

use32RuntimeOn64
Boolean

True 表示使用32位執行時間在64位伺服器上執行;否則為 false。

referenceUsage
PackageInfo.ReferenceUsage

參考使用。

reference
EnvironmentReference

用來驗證封裝的參考。

傳回

Int64

封裝。

適用於