다음을 통해 공유


GetErrorMessage 메서드 (Boolean)

Returns a String that contains the error message.

네임스페이스:  Microsoft.SqlServer.Dts.Design
어셈블리:  Microsoft.SqlServer.Dts.Design.dll의 Microsoft.SqlServer.Dts.Design

구문

‘선언
Function GetErrorMessage ( _
    descriptionOnly As Boolean _
) As String
‘사용 방법
Dim instance As IErrorCollectionService
Dim descriptionOnly As Boolean
Dim returnValue As String

returnValue = instance.GetErrorMessage(descriptionOnly)
string GetErrorMessage(
    bool descriptionOnly
)
String^ GetErrorMessage(
    bool descriptionOnly
)
abstract GetErrorMessage : 
        descriptionOnly:bool -> string 
function GetErrorMessage(
    descriptionOnly : boolean
) : String

매개 변수

  • descriptionOnly
    형식: System. . :: . .Boolean
    A Boolean that indicates whether the error message only is returned, or the error message plus component and subcomponent information.

반환 값

형식: System. . :: . .String
When true, a String that contains the error message. When false, a String that contains the error message, component and subcomponent information.

주의

Passing false to this method is the same as calling the GetErrorMessage method.