次の方法で共有


AlertType プロパティ

警告の種類を示す AlertType オブジェクトの値を取得します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AlertType As AlertType
    Get
'使用
Dim instance As Alert
Dim value As AlertType

value = instance.AlertType
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AlertType AlertType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AlertType AlertType {
    AlertType get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AlertType : AlertType
function get AlertType () : AlertType

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Agent. . :: . .AlertType
警告の種類を示す AlertType オブジェクトの値です。

説明

このプロパティは、警告がパフォーマンス条件、および Microsoft SQL Server イベントまたはユーザー定義メッセージなどの SQL Server から発生しないイベントに基づくかどうかを示します。