Class Element (RDL)

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

语法

<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

备注

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

请参阅

参考

Report Definition XML Elements
CodeModules Element (RDL)

其他资源

Using Custom Assemblies with Reports
在表达式中使用自定义代码引用 (Reporting Services)

帮助和信息

获取 SQL Server 2005 帮助