Partager via


NotificationSubscription Constructor

Initializes a new NotificationSubscription object.

Namespace: Microsoft.EnterpriseManagement.Subscriptions
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim displayName As String
Dim description As String
Dim subscriptionType As ISubscriptionTypeBase

Dim instance As New NotificationSubscription(displayName, description, subscriptionType)

Syntax

'Declaration
Public Sub New ( _
    displayName As String, _
    description As String, _
    subscriptionType As ISubscriptionTypeBase _
)
public NotificationSubscription (
    string displayName,
    string description,
    ISubscriptionTypeBase subscriptionType
)
public:
NotificationSubscription (
    String^ displayName, 
    String^ description, 
    ISubscriptionTypeBase^ subscriptionType
)
public NotificationSubscription (
    String displayName, 
    String description, 
    ISubscriptionTypeBase subscriptionType
)
public function NotificationSubscription (
    displayName : String, 
    description : String, 
    subscriptionType : ISubscriptionTypeBase
)

Parameters

  • displayName
    The display name.
  • description
    The description.
  • subscriptionType
    The subscription type.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

NotificationSubscription Class
NotificationSubscription Members
Microsoft.EnterpriseManagement.Subscriptions Namespace