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 協助