共用方式為


ProjectInfo.Validate 方法

Validates the project.

命名空間:  Microsoft.SqlServer.Management.IntegrationServices
組件:  Microsoft.SqlServer.Management.IntegrationServices (在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)

語法

'宣告
Public Function Validate ( _
    use32RuntimeOn64 As Boolean, _
    referenceUsage As ProjectInfo.ReferenceUsage, _
    reference As EnvironmentReference _
) As Long
'用途
Dim instance As ProjectInfo 
Dim use32RuntimeOn64 As Boolean 
Dim referenceUsage As ProjectInfo.ReferenceUsage 
Dim reference As EnvironmentReference 
Dim returnValue As Long 

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

參數

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

傳回值

型別:System.Int64
The validated project.

請參閱

參考

ProjectInfo 類別

Microsoft.SqlServer.Management.IntegrationServices 命名空間