Redigera

Dela via


EdmFunctions.VarP(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'VarP' function over the population of the specified collection. The result type of the expression Edm.Double.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ VarP(System::Data::Common::CommandTrees::DbExpression ^ collection);
public static System.Data.Common.CommandTrees.DbFunctionExpression VarP (this System.Data.Common.CommandTrees.DbExpression collection);
static member VarP : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function VarP (collection As DbExpression) As DbFunctionExpression

Parameters

collection
DbExpression

An expression that specifies the collection for which the statistical variance should be computed.

Returns

A new DbFunctionExpression that produces the statistical variance value.

Exceptions

collection is null.

collection is invalid.

Applies to