Partager via


Class Element (RDL)

Contains information about a class to instantiate during report initialization. The class instance can be used in expressions in the report.

Syntaxe

<Classes>
    ...
    <Class>
        <ClassName>...</ClassName>
        <InstanceName>...</InstanceName>
    </Class>
    ...
</Classes>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that occurs once or more than once.

Element Relationships

Relationship Element

Parent element

Classes

Child element

ClassName, InstanceName

Notes

A code module must be loaded before you can use a class from that module. For more information, see Using Custom Assemblies with Reports.

Voir aussi

Référence

Report Definition XML Elements
CodeModules Element (RDL)

Autres ressources

Using Custom Assemblies with Reports
Utilisation de références de code personnalisé dans des expressions (Reporting Services)

Aide et Informations

Assistance sur SQL Server 2005