다음을 통해 공유


IErrorCollectionService.GetErrorMessage 메서드 (Boolean)

Returns a String that contains the error message.

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

구문

‘선언
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.

참고 항목

참조

IErrorCollectionService 인터페이스

GetErrorMessage 오버로드

Microsoft.SqlServer.Dts.Design 네임스페이스