次の方法で共有


ManagementGroup.GetNotificationSubscriptions Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all the notification subscriptions.

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

Syntax

[ObsoleteAttribute("Please use Notifications.GetNotificationSubscriptions()")]
public ReadOnlyCollection<NotificationSubscription> GetNotificationSubscriptions()
public:
[ObsoleteAttribute("Please use Notifications.GetNotificationSubscriptions()")]
ReadOnlyCollection<NotificationSubscription^>^ GetNotificationSubscriptions()
[<ObsoleteAttribute("Please use Notifications.GetNotificationSubscriptions()")>]
member GetNotificationSubscriptions : unit -> ReadOnlyCollection<NotificationSubscription>
<ObsoleteAttribute("Please use Notifications.GetNotificationSubscriptions()")>
Public Function GetNotificationSubscriptions As ReadOnlyCollection(Of NotificationSubscription)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<NotificationSubscription>

Returns aReadOnlyCollection<T> object ofNotificationSubscription objects.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top