Application.NotificationClasses Property
Gets a NotificationClassCollection object, which contains the set of notification classes for the Notification Services application.
네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
구문
‘선언
Public ReadOnly Property NotificationClasses As NotificationClassCollection
public NotificationClassCollection NotificationClasses { get; }
public:
property NotificationClassCollection^ NotificationClasses {
NotificationClassCollection^ get ();
}
/** @property */
public NotificationClassCollection get_NotificationClasses ()
public function get NotificationClasses () : NotificationClassCollection
속성 값
A NotificationClassCollection object.
주의
An application can have zero or more notification classes. Although it is legal to have zero notification classes, most applications have one or more notification classes.
Notification classes describe the notifications your applications produce. In a notification class, you define the notification schema, content formatters, delivery protocols, expiration age, and delivery settings.
Use the methods of the NotificationClassCollection class to add or remove NotificationClass objects.
예
The following example shows how to use this property to add a notification class to an application:
myApplication.NotificationClasses.Add(flightNotifications);
myApplication.NotificationClasses.Add(flightNotifications)
스레드 보안
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.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
Application Class
Application Members
Microsoft.SqlServer.Management.Nmo Namespace