다음을 통해 공유


Properties, Measure Interface

[!참고]

  이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

The Measure interface supports the following properties.

Property

Description

AggregateFunction

Sets or returns a value that corresponds to the type of aggregate function used for a measure

ClassType

Returns an enumeration constant that identifies the specific object type

Description

Sets or returns the measure description

FormatString

Sets or returns the format used to display the measure values

IsValid

Indicates whether the measure object is valid

IsVisible

Indicates whether the measure is visible to client applications

Name

Sets or returns the measure name

OrdinalPosition

Returns the ordinal position of the measure in the parent object's Measures collection

Parent

Returns a reference to the parent MDStore object

SourceColumn

Sets or returns the name of the column that is precalculated

SourceColumnType

Sets or returns the data type of the measure source column

SubClassType

Returns an enumeration constant that identifies the subclass type of the object

Access Cross-Reference

The following table shows whether the property is read/write (R/W) or read-only (R) for different objects.

Property

clsCube

Measure

clsPartition

Measure

clsAggregation

Measure

AggregateFunction

R/W*

R

R

ClassType

R

R

R

Description

R/W

R

R

FormatString

R/W*

R

R

IsValid

R

R

R

IsVisible

R/W

R

R

Name

R/W (R after the object has been named)

R/W (R after the object has been named)

R/W (R after the object has been named)

OrdinalPosition

R

R

R

Parent

R

R

R

SourceColumn

R/W

R/W

R

SourceColumnType

R/W*

R

R

SubClassType

R

R

R

* This property is read-only (R) for virtual cubes (that is, those of SubClassType sbclsVirtual).

참고 항목

참조