Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Specifies optional Microsoft SQL Server field attributes for an event field, such as null and default values.
Syntax
<EventClasses>
<EventClass>
...
<Schema>
<Field>
...
<FieldTypeMods>
Element Characteristics
| Characteristic | Description |
|---|---|
Data type |
string, between 1 and 255 characters in length. |
Default value |
None. |
Occurrence |
Optional once per Field element. |
Updates |
Can be added, deleted, and modified when updating the application. |
Element Relationships
| Relationship | Elements |
|---|---|
Parent element |
|
Child elements |
None. |
Hinweise
The possible values for FieldTypeMods come from the table column modifiers, such as NOT NULL or DEFAULTconstant_expression. The value must conform to the Transact-SQL syntax conventions.
Hinweis: |
|---|
| You cannot specify an event data field as an Identity column in SQL Server. Notification Services already uses the Identity property to specify a system-generated EventId field. |
For more information about possible values, see CREATE TABLE (Transact-SQL).
Wichtig: |
|---|
| If you update a FieldTypeMods 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 event class tables is permanently deleted. |
Beispiel
The following example shows how to specify that the event class field does not accept a null value.
<FieldTypeMods>NOT NULL</FieldTypeMods>
Siehe auch
Verweis
Application Definition File Reference
Andere Ressourcen
Definieren von Kernereignisklassen-Eigenschaften
Aktualisieren von Instanzen und Anwendungen
Hinweis: