Share via


ManagementGroup.GetNotificationSubscription Method (String)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the notification subscription that has the specified name.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use Notifications.GetNotificationSubscription()")]
public NotificationSubscription GetNotificationSubscription(
    string name
)
public:
[ObsoleteAttribute("Please use Notifications.GetNotificationSubscription()")]
NotificationSubscription^ GetNotificationSubscription(
    String^ name
)
[<ObsoleteAttribute("Please use Notifications.GetNotificationSubscription()")>]
member GetNotificationSubscription : 
        name:string -> NotificationSubscription
<ObsoleteAttribute("Please use Notifications.GetNotificationSubscription()")>
Public Function GetNotificationSubscription (
    name As String
) As NotificationSubscription

Parameters

  • name
    Type: System.String

    The name of the notification subscription object to get.

Return Value

Type: Microsoft.EnterpriseManagement.Administration.NotificationSubscription

Returns aNotificationSubscriptionobject.

See Also

GetNotificationSubscription Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top