다음을 통해 공유


EventChronicle Constructor (EventClass, String)

Initializes a new EventChronicle with an EventClass object and a name.

네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Sub New ( _
    eventClass As EventClass, _
    name As String _
)
public EventChronicle (
    EventClass eventClass,
    string name
)
public:
EventChronicle (
    EventClass^ eventClass, 
    String^ name
)
public EventChronicle (
    EventClass eventClass, 
    String name
)
public function EventChronicle (
    eventClass : EventClass, 
    name : String
)

매개 변수

  • name
    A String, up to 255 characters in length, containing the logical name of the event chronicle.

    You cannot change the name. To rename an event chronicle, you must remove it and then add a new event chronicle that has the new name.

주의

Each event chronicle is for a specific event class. The logical name of the event chronicle is only used to refer to the chronicle. You provide a table name when you define the event chronicle table in the SqlStatements.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

EventChronicle Class
EventChronicle Members
Microsoft.SqlServer.Management.Nmo Namespace

관련 자료

이벤트 클래스에 대한 기록 정의
Chronicle Element for EventClass/Chronicles (ADF)