다음을 통해 공유


Event Class

Represents a single event.

네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

구문

‘선언
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("CC6F9519-07C9-39CA-8D88-32440AD326A9")> _
<DefaultMemberAttribute("Item")> _
Public Class Event
    Implements IEvent
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[GuidAttribute("CC6F9519-07C9-39CA-8D88-32440AD326A9")] 
[DefaultMemberAttribute("Item")] 
public class Event : IEvent
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[GuidAttribute(L"CC6F9519-07C9-39CA-8D88-32440AD326A9")] 
[DefaultMemberAttribute(L"Item")] 
public ref class Event : IEvent
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute GuidAttribute("CC6F9519-07C9-39CA-8D88-32440AD326A9") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public class Event implements IEvent
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
GuidAttribute("CC6F9519-07C9-39CA-8D88-32440AD326A9") 
DefaultMemberAttribute("Item") 
public class Event implements IEvent

주의

The Event object encapsulates the event data for a single event. A reference to the Event object is passed to an EventCollector object, which writes the data to the application database.

For examples of the Event class, see 관리 이벤트 전송 API 사용.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.Event

스레드 보안

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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Event Members
Microsoft.SqlServer.NotificationServices Namespace