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

用于验证包的引用。

返回

包。

适用于