Class Element (RDL)

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

Syntax

<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

Remarks

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

See Also

Reference

Report Definition XML Elements
CodeModules Element (RDL)

Other Resources

Using Custom Assemblies with Reports
Using Custom Code References in Expressions (Reporting Services)

Help and Information

Getting SQL Server 2005 Assistance