共用方式為


AssemblyName Element for HostedProvider (ADF)

Specifies the assembly that contains the class that implements the hosted event provider functionality.

語法

<Providers>
    <HostedProvider>
        ...
        <AssemblyName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 260 characters in length.

Default value

None.

Occurrence

Required once per HostedProvider element for custom components. Not used with Notification Services standard components.

Updates

Can be modified, but not added to or deleted from a hosted event provider, when updating the application.

Element Relationships

Relationship Elements

Parent element

HostedProvider Element (ADF)

Child elements

None.

備註

The value for AssemblyName must be either a fully-qualified path to the event provider assembly or a fully-qualified assembly name.

範例

The following example shows a fully-qualified path to the event provider assembly.

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

The following example a fully-qualified assembly name.

<AssemblyName>WebFeedProvider, Version=1.0.1234.0, Culture=en-US, 
              PublicKeyToken=b77a5c561934e089c</AssemblyName>

請參閱

參考

Application Definition File Reference

其他資源

定義裝載的事件提供者
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助