Alert.EnumNotifications メソッド (NotifyMethods, String)
指定された通知方法および指定されたオペレーターに限定される警告に定義された、通知方法の一覧を列挙します。
名前空間: Microsoft.SqlServer.Management.Smo.Agent
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Function EnumNotifications ( _
notifyMethod As NotifyMethods, _
operatorName As String _
) As DataTable
'使用
Dim instance As Alert
Dim notifyMethod As NotifyMethods
Dim operatorName As String
Dim returnValue As DataTable
returnValue = instance.EnumNotifications(notifyMethod, _
operatorName)
public DataTable EnumNotifications(
NotifyMethods notifyMethod,
string operatorName
)
public:
DataTable^ EnumNotifications(
NotifyMethods notifyMethod,
String^ operatorName
)
member EnumNotifications :
notifyMethod:NotifyMethods *
operatorName:string -> DataTable
public function EnumNotifications(
notifyMethod : NotifyMethods,
operatorName : String
) : DataTable
パラメーター
- notifyMethod
型: Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods
通知方法を示す NotifyMethods オブジェクトの値です。
- operatorName
型: System.String
オペレーターの名前を示す文字列値です。
戻り値
型: System.Data.DataTable
警告に定義された通知に関する情報のテーブルを含む DataTable オブジェクトの値です。