PackageInfo.Execute 方法 (Boolean, EnvironmentReference)
Executes a package with the specified reference.
命名空间: Microsoft.SqlServer.Management.IntegrationServices
程序集: Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)
语法
声明
Public Function Execute ( _
use32RuntimeOn64 As Boolean, _
reference As EnvironmentReference _
) As Long
用法
Dim instance As PackageInfo
Dim use32RuntimeOn64 As Boolean
Dim reference As EnvironmentReference
Dim returnValue As Long
returnValue = instance.Execute(use32RuntimeOn64, _
reference)
public long Execute(
bool use32RuntimeOn64,
EnvironmentReference reference
)
public:
long long Execute(
bool use32RuntimeOn64,
EnvironmentReference^ reference
)
member Execute :
use32RuntimeOn64:bool *
reference:EnvironmentReference -> int64
public function Execute(
use32RuntimeOn64 : boolean,
reference : EnvironmentReference
) : long
参数
- use32RuntimeOn64
类型:System.Boolean
True to use 32 bit runtime for execution on a 64-bit server; otherwise, false.
- reference
类型:Microsoft.SqlServer.Management.IntegrationServices.EnvironmentReference
The specified reference to execute the package.
返回值
类型:System.Int64
The specified package.