DiscretizedMid 属性

Gets the midpoint of the discretized range.

命名空间:  Microsoft.AnalysisServices.AdomdServer
程序集:  msmgdsrv(在 msmgdsrv.dll 中)

语法

声明
Public ReadOnly Property DiscretizedMid As Object
    Get
用法
Dim instance As MiningValue
Dim value As Object

value = instance.DiscretizedMid
public Object DiscretizedMid { get; }
public:
property Object^ DiscretizedMid {
    Object^ get ();
}
member DiscretizedMid : Object
function get DiscretizedMid () : Object

属性值

类型:System. . :: . .Object
If the range contains numeric values, returns a numeric value that represents the sum of the minimum and maximum values for the range, divided by two: that is,(DiscretizedMin+DiscretizedMax)/2. If the range contains dates, returns a date at the midpoint of the range.

注释

The numeric data type that is returned depends on the numeric data type of the range.

Dates are stored as double internally. Therefore, the value for DiscretizedMid is calculated as a numeric value, and represented as a date when retrieved.