CommandNotificationAction Constructor (String, String)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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
'Usage
Dim name As String
Dim recipientProtocol As String
Dim instance As New CommandNotificationAction(name, recipientProtocol)
Syntax
'Declaration
Public Sub New ( _
name As String, _
recipientProtocol As String _
)
public CommandNotificationAction (
string name,
string recipientProtocol
)
public:
CommandNotificationAction (
String^ name,
String^ recipientProtocol
)
public CommandNotificationAction (
String name,
String recipientProtocol
)
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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
CommandNotificationAction Class
CommandNotificationAction Members
Microsoft.EnterpriseManagement.Administration Namespace