PackageInfo.Validate Method

Definition

Validates a specified package.

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

Parameters

use32RuntimeOn64
Boolean

True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.

referenceUsage
PackageInfo.ReferenceUsage

The reference usage.

reference
EnvironmentReference

The reference used to validate the package.

Returns

The package.

Applies to