Initializes the CommandNotificationAction class with user-defined names for the notification action and the recipient protocol. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim name As String
Dim recipientProtocol As String

Dim instance As New CommandNotificationAction(name, recipientProtocol)

Syntax

Visual Basic
Public Sub New ( _
		name As String, _
		recipientProtocol As String _
)
C#
public CommandNotificationAction (
		string name,
		string recipientProtocol
)
C++
public:
CommandNotificationAction (
		String^ name, 
		String^ recipientProtocol
)
J#
public CommandNotificationAction (
		String name, 
		String recipientProtocol
)
JScript
public function CommandNotificationAction (
		name : String, 
		recipientProtocol : String
)

Parameters

name

A user-defined name for this notification action.

recipientProtocol

The transport protocol used to deliver notifications to the recipient. For example: sip, sms, or smtp.

Remarks

After initializing a CommandNotificationAction, you can add it to the list of actions for a particular subscription by setting the value of the Actions parameter.


Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also