共用方式為


AssemblyName Element for ContentFormatter (ADF)

Specifies the assembly that contains the custom content formatter class.

語法

<NotificationClasses>
    <NotificationClass>
        ...
        <ContentFormatter>
            ...
            <AssemblyName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 260 characters in length.

Default value

None.

Occurrence

Required once per ContentFormatter element for a custom content formatter. Not used with SQL Server 2005 Notification Services standard components.

Updates

Can be modified, but not added to or deleted from a content formatter, when updating the application.

Element Relationships

Relationship Elements

Parent Node

ContentFormatter Element (ADF)

Child elements

None.

範例

The following example shows the full path to the content formatter assembly.

<AssemblyName>C:\ProductionCode\ContentFormatter.dll</AssemblyName>

The following example shows a fully-qualified assembly name.

<AssemblyName>ContentFormatter, Version=1.0.1234.0, Culture=en-US, 
              PublicKeyToken=b77a5c561934e089d</AssemblyName>

請參閱

參考

Application Definition File Reference

其他資源

設定內容格式器
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助