Freigeben über


Arguments Element for HostedProvider (ADF)

Provides a location for specifying initialization values for a hosted event provider.

Syntax

<Providers>
    <HostedProvider>
        ...
        <Arguments>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per HostedProvider element.

Updates

Can be added and deleted when updating an application.

Element Relationships

Relationship Elements

Parent element

HostedProvider Element (ADF)

Child elements

Argument Element for HostedProvider/Arguments (ADF)

Hinweise

Each hosted event provider may use required and optional arguments. For example, the standard file system watcher event provider requires three arguments (such as WatchDirectory) and has four optional arguments. If you are using a standard event provider, arguments are described in the Standardereignisanbieter section. If you are using a custom event provider, the provider should include documentation about its arguments.

Beispiel

The following example shows an Arguments element. Its child elements set initialization values for a hosted event provider.

<Arguments>
    <Argument>
        <Name>PickupFile</Name>
        <Value>C:\Output\events.txt</Value>
    </Argument>
    <Argument>
        <Name>OutputFileIncrement</Name>
        <Value>5</Value>
    <Argument>
</Arguments>

Siehe auch

Verweis

Application Definition File Reference

Andere Ressourcen

Definieren von gehosteten Ereignisanbietern
Aktualisieren von Instanzen und Anwendungen

Hilfe und Informationen

Informationsquellen für SQL Server 2005