PipelineComponent.GetErrorOutputInfo 方法
Returns the index and ID of the error output of the component.
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)
語法
'宣告
Public Function GetErrorOutputInfo ( _
ByRef iErrorOutputID As Integer, _
ByRef iErrorOutputIndex As Integer _
) As Boolean
'用途
Dim instance As PipelineComponent
Dim iErrorOutputID As Integer
Dim iErrorOutputIndex As Integer
Dim returnValue As Boolean
returnValue = instance.GetErrorOutputInfo(iErrorOutputID, _
iErrorOutputIndex)
public bool GetErrorOutputInfo(
ref int iErrorOutputID,
ref int iErrorOutputIndex
)
public:
bool GetErrorOutputInfo(
int% iErrorOutputID,
int% iErrorOutputIndex
)
member GetErrorOutputInfo :
iErrorOutputID:int byref *
iErrorOutputIndex:int byref -> bool
public function GetErrorOutputInfo(
iErrorOutputID : int,
iErrorOutputIndex : int
) : boolean
參數
- iErrorOutputID
型別:System.Int32%
Contains the ID of the error IDTSOutput100 when the method returns.
- iErrorOutputIndex
型別:System.Int32%
Contains the index of the error IDTSOutput100 when the method returns.
傳回值
型別:System.Boolean
true if the component has an IDTSOutput100 object with the IsErrorOut property set to true; otherwise, false.
備註
GetErrorOutputInfo is a helper function provided by the base class that retrieves the error output of the component. If the component does not have an error output, the method returns false.
For more information, see 使用資料流程元件中的錯誤輸出.