EventClass Class
Represents any event class in an application. This class is used to access the event class metadata, and should not be confused with the Event class, which is used to encapsulate event information for a single event. This class is deprecated in Microsoft SQL Server 2005.
네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
구문
‘선언
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("332C9281-3812-36FD-BA56-0093DA12394A")> _
<ComVisibleAttribute(True)> _
Public Class EventClass
Implements IEventClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("332C9281-3812-36FD-BA56-0093DA12394A")]
[ComVisibleAttribute(true)]
public class EventClass : IEventClass
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"332C9281-3812-36FD-BA56-0093DA12394A")]
[ComVisibleAttribute(true)]
public ref class EventClass : IEventClass
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */
/** @attribute GuidAttribute("332C9281-3812-36FD-BA56-0093DA12394A") */
/** @attribute ComVisibleAttribute(true) */
public class EventClass implements IEventClass
ClassInterfaceAttribute(ClassInterfaceType.None)
GuidAttribute("332C9281-3812-36FD-BA56-0093DA12394A")
ComVisibleAttribute(true)
public class EventClass implements IEventClass
주의
In SQL Server 2005, classes for creating and managing Notification Services instances and applications are in the Microsoft.SqlServer.Management.Nmo namespace. This EventClass class, replaced by the Microsoft.SqlServer.Management.Nmo.EventClass class, is included only for compatibility with earlier versions of Notification Services and may not be supported in a future release.
The EventClass class provides access to the metadata of an event class. It should not be confused with the Event class, which provides a means of encapsulating a single event for submission to the application. The EventClass class provides methods to return information about the event fields defined for the specified event class.
The EventClass class does not have a constructor. Use an EventClass object returned by the Item property.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.NotificationServices.EventClass
스레드 보안
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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
EventClass Members
Microsoft.SqlServer.NotificationServices Namespace