共用方式為


IErrorCollectionService.HasErrors 方法

Indicates whether the collection service has errors.

命名空間:  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
True if the collection service has errors; otherwise, false.

請參閱

參考

IErrorCollectionService 介面

Microsoft.SqlServer.Dts.Design 命名空間