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 |
|
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 識別碼.
重要事項: |
---|
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