共用方式為


HasErrors 方法

命名空間:  Microsoft.SqlServer.Dts.Design
組件:  Microsoft.SqlServer.Dts.Design (在 Microsoft.SqlServer.Dts.Design.dll 中)

語法

'宣告
Function HasErrors ( _
    level As TraceLevel _
) As Boolean
'用途
Dim instance As IErrorCollectionService
Dim level As TraceLevel
Dim returnValue As Boolean

returnValue = instance.HasErrors(level)
bool HasErrors(
    TraceLevel level
)
bool HasErrors(
    TraceLevel level
)
abstract HasErrors : 
        level:TraceLevel -> bool 
function HasErrors(
    level : TraceLevel
) : boolean

傳回值

型別:System. . :: . .Boolean