Compartilhar via


Método PackageInfo.Validate

Validates a specified package.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (em Microsoft.SqlServer.Management.IntegrationServices.dll)

Sintaxe

'Declaração
Public Function Validate ( _
    use32RuntimeOn64 As Boolean, _
    referenceUsage As PackageInfo.ReferenceUsage, _
    reference As EnvironmentReference _
) As Long
'Uso
Dim instance As PackageInfo 
Dim use32RuntimeOn64 As Boolean 
Dim referenceUsage As PackageInfo.ReferenceUsage 
Dim reference As EnvironmentReference 
Dim returnValue As Long 

returnValue = instance.Validate(use32RuntimeOn64, _
    referenceUsage, reference)
public long Validate(
    bool use32RuntimeOn64,
    PackageInfo.ReferenceUsage referenceUsage,
    EnvironmentReference reference
)
public:
long long Validate(
    bool use32RuntimeOn64, 
    PackageInfo.ReferenceUsage referenceUsage, 
    EnvironmentReference^ reference
)
member Validate : 
        use32RuntimeOn64:bool * 
        referenceUsage:PackageInfo.ReferenceUsage * 
        reference:EnvironmentReference -> int64
public function Validate(
    use32RuntimeOn64 : boolean, 
    referenceUsage : PackageInfo.ReferenceUsage, 
    reference : EnvironmentReference
) : long

Parâmetros

  • use32RuntimeOn64
    Tipo: System.Boolean
    True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.

Valor de retorno

Tipo: System.Int64
The package.

Consulte também

Referência

PackageInfo Classe

Namespace Microsoft.SqlServer.Management.IntegrationServices