GetExecutionErrorInfo Method (DTS)

The GetExecutionErrorInfo method returns details about execution result failure if one occurs.

Applies To
Step Object  

Syntax

object.GetExecutionErrorInfo(
pErrorCode,
[pbstrSource],
[pbstrDescription],
[pbstrHelpFile],
[pHelpContext],
[pbstrIDofInterfaceWithError])

Part Description
Step Expression that evaluates to an object in the Applies To list
pErrorCode Error code of the failure
pbstrSource Source of error
pbstrDescription Description property of the error
pbstrHelpFile Help file name
pHelpContext Help context ID
pbstrIDOfInterface
WithError
ID of the interface returning the error

Remarks

Step object failure is separate from Package object failure. Therefore, error information for each step is unavailable from the COM IErrorInfo object or the Visual Basic Err object.

Prototype (C/C++)

HRESULT GetExecutionErrorInfo(long *pErrorCode,
BSTR *pbstrSource,
BSTR *pbstrDescription,
BSTR *pbstrHelpFile,
long *pHelpContext,
BSTR *pbstrIDofInterfaceWithError);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.