다음을 통해 공유


Schema Element for EventClass (ADF)

Contains elements that define event class fields.

구문

<EventClasses>
    <EventClass>
        ...
        <Schema>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required once per EventClass element.

Updates

Cannot be added or deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

EventClass Element (ADF)

Child elements

Field Element for EventClass/Schema (ADF)

주의

An event class schema defines an event class table in the application database. Notification Services automatically adds ID columns to this definition when creating the database table.

The following example shows a Schema element that creates two event fields: a 10-character stock symbol field, and a stock price field that accepts monetary data.

<Schema>
    <Field>
        <FieldName>StockSymbol</FieldName>
        <FieldType>char(10)</FieldType>
        <FieldTypeMods>NOT NULL</FieldTypeMods>
    </Field>
    <Field>
        <FieldName>StockPrice</FieldName>
        <FieldType>money</FieldType>
        <FieldTypeMods>NOT NULL DEFAULT 10</FieldTypeMods>
    </Field>
</Schema>

참고 항목

참조

Application Definition File Reference

관련 자료

핵심 이벤트 클래스 속성 정의
인스턴스 및 응용 프로그램 업데이트

도움말 및 정보

SQL Server 2005 지원 받기