Share via


NotificationClass Class

Represents a subscription class, as specified for a given application. This class is deprecated in Microsoft SQL Server 2005.

Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintassi

'Dichiarazione
<GuidAttribute("5CF91FCF-8F6B-419d-B2C7-33DA417F7937")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<ComVisibleAttribute(True)> _
Public Class NotificationClass
    Implements INotificationClass
[GuidAttribute("5CF91FCF-8F6B-419d-B2C7-33DA417F7937")] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[ComVisibleAttribute(true)] 
public class NotificationClass : INotificationClass
[GuidAttribute(L"5CF91FCF-8F6B-419d-B2C7-33DA417F7937")] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[ComVisibleAttribute(true)] 
public ref class NotificationClass : INotificationClass
/** @attribute GuidAttribute("5CF91FCF-8F6B-419d-B2C7-33DA417F7937") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute ComVisibleAttribute(true) */ 
public class NotificationClass implements INotificationClass
GuidAttribute("5CF91FCF-8F6B-419d-B2C7-33DA417F7937") 
ClassInterfaceAttribute(ClassInterfaceType.None) 
ComVisibleAttribute(true) 
public class NotificationClass implements INotificationClass

Osservazioni

In SQL Server 2005, classes for creating and managing Notification Services instances and applications are in the Microsoft.SqlServer.Management.Nmo namespace. This class, replaced by the Microsoft.SqlServer.Management.Nmo.NotificationClass class, is included only for compatibility with earlier versions of Notification Services and may not be supported in a future release.

The NotificationClass class provides access to the metadata of any notification class defined for an application. It provides methods to return information about the notification fields defined for the specified notification class.

There is no constructor for the NotificationClass class. Use the NotificationClassEnumeration.Item property to return a NotificationClass.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.NotificationClass

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

NotificationClass Members
Microsoft.SqlServer.NotificationServices Namespace