Caption (clsMemberProperty)

ms134714.note(zh-cn,SQL.90).gif注意:
  下一版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。

The Caption property of an object of ClassType clsMemberProperty contains the name of the column that contains the member property in the members and axis schema rowsets. This is useful for creating language-specific versions of member properties.

Data Type

String

Access

Read/write

备注

Individual member properties can have identical Caption values only if they have different values for Language. When a client application requests the contents of a member property, the Analysis server compares the locale ID of the client application to the Language property. The member property with the most appropriate Language value will be sent to the client application.

Two values for the Caption property are noteworthy: MEMBER_CAPTION and DESCRIPTION. The MEMBER_CAPTION schema column should be used to define member captions. Under normal circumstances, a client application should use this schema column for text when displaying members. Similarly, the DESCRIPTION column should be used to define textual member descriptions. By combining these Caption values with specific Language values, the administrator can define localized member captions and descriptions that will be used automatically by any client application.

The following schema column names are defined by OLE DB for OLAP and should not be used as values for the Name or Caption properties of member properties.

  • CATALOG_NAME
  • SCHEMA_NAME
  • CUBE_NAME
  • DIMENSION_UNIQUE_NAME
  • HIERARCHY_UNIQUE_NAME
  • LEVEL_UNIQUE_NAME
  • LEVEL_NUMBER
  • MEMBER_ORDINAL
  • MEMBER_NAME
  • MEMBER_UNIQUE_NAME
  • MEMBER_TYPE
  • MEMBER_GUID
  • CHILDREN_CARDINALITY
  • PARENT_LEVEL
  • PARENT_UNIQUE_NAME
  • PARENT_COUNT

请参阅

参考

clsMemberProperty

帮助和信息

获取 SQL Server 2005 帮助