IMonitoringNotificationManagement.GetNotificationEndpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetNotificationEndpoint(Guid) |
Retrieve notification endpoint by id. |
| GetNotificationEndpoint(String) |
Retrieve notification endpoint by name. |
GetNotificationEndpoint(Guid)
Retrieve notification endpoint by id.
public:
Microsoft::EnterpriseManagement::Administration::NotificationEndpoint ^ GetNotificationEndpoint(Guid id);
public Microsoft.EnterpriseManagement.Administration.NotificationEndpoint GetNotificationEndpoint (Guid id);
abstract member GetNotificationEndpoint : Guid -> Microsoft.EnterpriseManagement.Administration.NotificationEndpoint
Public Function GetNotificationEndpoint (id As Guid) As NotificationEndpoint
Parameters
- id
- Guid
The id of the endpoint.
Returns
A notification endpoint.
Exceptions
ObjectNotFoundException
No NotificationEndpoint with that id found.
Applies to
GetNotificationEndpoint(String)
Retrieve notification endpoint by name.
public:
Microsoft::EnterpriseManagement::Administration::NotificationEndpoint ^ GetNotificationEndpoint(System::String ^ name);
public Microsoft.EnterpriseManagement.Administration.NotificationEndpoint GetNotificationEndpoint (string name);
abstract member GetNotificationEndpoint : string -> Microsoft.EnterpriseManagement.Administration.NotificationEndpoint
Public Function GetNotificationEndpoint (name As String) As NotificationEndpoint
Parameters
- name
- String
The name of the endpoint.
Returns
A notification endpoint.
Exceptions
name is null
name is empty
ObjectNotFoundException
No NotificationEndpoint with that name found.