共用方式為


DacCompilationErrorCollection 類別

The DacCompilationErrorCollection type stores a collection of DAC compilation errors.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..DacCompilationErrorCollection

命名空間:  Microsoft.SqlServer.Management.Dac
組件:  Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)

語法

'宣告
Public Class DacCompilationErrorCollection _
    Implements IEnumerable(Of DacCompilationError), IEnumerable
'用途
Dim instance As DacCompilationErrorCollection
public class DacCompilationErrorCollection : IEnumerable<DacCompilationError>, 
    IEnumerable
public ref class DacCompilationErrorCollection : IEnumerable<DacCompilationError^>, 
    IEnumerable
type DacCompilationErrorCollection =  
    class
        interface IEnumerable<DacCompilationError>
        interface IEnumerable
    end
public class DacCompilationErrorCollection implements IEnumerable<DacCompilationError>, IEnumerable

DacCompilationErrorCollection 型別公開下列成員。

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetEnumerator Returns an enumerator that iterates through the DacCompilationErrorCollection object.
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 IEnumerable. . :: . .GetEnumerator Returns an enumerator that iterates through the DacCompilationErrorCollection object.

上層

備註

By using the DacCompilationErrorCollection object, you can iterate through the collection of errors.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。