共用方式為


EventClassName Element for EventClass (ADF)

Specifies the user-defined name of the event class.

語法

<EventClasses>
    <EventClass>
        <EventClassName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 64 characters in length.

Default value

None.

Occurrence

Required once per EventClass element.

Updates

You can modify this element, but cannot add or delete it when you update the application.

Element Relationships

Relationship Elements

Parent element

EventClass Element (ADF)

Child elements

None.

備註

The name of an event class must conform to SQL Server identifier naming conventions. It also must be unique within the application. For more information about SQL Server identifier naming conventions, see 識別碼.

ms146588.note(zh-tw,SQL.90).gif重要事項:
If you add, delete, or update the EventClassName element, updating the application deletes and re-creates the event class to which it corresponds. This includes dropping and re-creating the SQL Server tables and indexes used by this event class. Any data existing in the original SQL Server tables is permanently deleted.

範例

The following example shows an EventClassName element that specifies an event class name of HockeyScores.

<EventClassName>HockeyScores</EventClassName>

請參閱

參考

Application Definition File Reference

其他資源

定義核心事件類別屬性
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助