AlertCollection クラス

AlertCollection クラスは、親オブジェクトで定義されたすべての警告を表す Alert オブジェクトのコレクションを表します。

名前空間:  Microsoft.SqlServer.Management.Smo.Agent
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public NotInheritable Class AlertCollection _
    Inherits SimpleObjectCollectionBase
'使用
Dim instance As AlertCollection
public sealed class AlertCollection : SimpleObjectCollectionBase
public ref class AlertCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type AlertCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class AlertCollection extends SimpleObjectCollectionBase

説明

AlertCollection オブジェクトは、一連の警告にアクセスするために使用できます。Item プロパティを使用すると、特定の Alert オブジェクトを取得できます。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。