Share via


MiningValue.DiscretizedMid Property

Gets the midpoint of the discretized range.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public ReadOnly Property DiscretizedMid As Object
    Get
'Usage
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

Property Value

Type: 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.

Remarks

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.