Share via


IComponentErrorInfo.GetMessage 메서드 (Boolean)

Returns a String that contains the error message.

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

구문

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

returnValue = instance.GetMessage(descriptionOnly)
string GetMessage(
    bool descriptionOnly
)
String^ GetMessage(
    bool descriptionOnly
)
abstract GetMessage : 
        descriptionOnly:bool -> string
function GetMessage(
    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 GetMessage method.

참고 항목

참조

IComponentErrorInfo 인터페이스

GetMessage 오버로드

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