共用方式為


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.