Returns a String that contains the error message.
命名空间: Microsoft.SqlServer.Dts.Design
程序集: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)
语法
声明
Function GetMessage ( _
descriptionOnly As Boolean _
) As String
string GetMessage (
bool descriptionOnly
)
String^ GetMessage (
bool descriptionOnly
)
String GetMessage (
boolean descriptionOnly
)
function GetMessage (
descriptionOnly : boolean
) : String
参数
- descriptionOnly
A Boolean that indicates whether the error message only is returned, or the error message plus component and subcomponent information.
返回值
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.
线程安全
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
IComponentErrorInfo Interface
IComponentErrorInfo Members
Microsoft.SqlServer.Dts.Design Namespace