共用方式為


IDTSProjectAccessor100.CreateSsisServerExecution 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Creates an SSIS server execution.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Function CreateSsisServerExecution ( _
    bstrServerName As String, _
    bstrPackagePath As String, _
    bstrReferenceId As String, _
    bUse32BitRuntime As Boolean _
) As IDTSServerExecution100
'用途
Dim instance As IDTSProjectAccessor100 
Dim bstrServerName As String 
Dim bstrPackagePath As String 
Dim bstrReferenceId As String 
Dim bUse32BitRuntime As Boolean 
Dim returnValue As IDTSServerExecution100 

returnValue = instance.CreateSsisServerExecution(bstrServerName, _
    bstrPackagePath, bstrReferenceId, _
    bUse32BitRuntime)
IDTSServerExecution100 CreateSsisServerExecution(
    string bstrServerName,
    string bstrPackagePath,
    string bstrReferenceId,
    bool bUse32BitRuntime
)
IDTSServerExecution100^ CreateSsisServerExecution(
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrPackagePath, 
    [InAttribute] String^ bstrReferenceId, 
    [InAttribute] bool bUse32BitRuntime
)
abstract CreateSsisServerExecution : 
        bstrServerName:string * 
        bstrPackagePath:string * 
        bstrReferenceId:string * 
        bUse32BitRuntime:bool -> IDTSServerExecution100
function CreateSsisServerExecution(
    bstrServerName : String, 
    bstrPackagePath : String, 
    bstrReferenceId : String, 
    bUse32BitRuntime : boolean
) : IDTSServerExecution100

參數

  • bstrReferenceId
    型別:System.String
    The reference identifier.
  • bUse32BitRuntime
    型別:System.Boolean
    True if the method uses 32-bit runtime; otherwise, false.

傳回值

型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSServerExecution100

請參閱

參考

IDTSProjectAccessor100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間