EdmFunctions.StDev(DbExpression) Methode

Definitie

Hiermee maakt u een DbFunctionExpression die de canonieke 'StDev'-functie aanroept voor de niet-null-leden van de opgegeven verzameling. Het resultaattype van de expressie is Edm.Double.

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

Parameters

collection
DbExpression

Een expressie die de verzameling aangeeft waarvoor de standaarddeviatie moet worden berekend.

Retouren

Een nieuwe DbFunctionExpression die de standaarddeviatiewaarde produceert ten opzichte van niet-null-leden van de verzameling.

Uitzonderingen

collection is null.

collection is ongeldig.

Van toepassing op