SpatialEdmFunctions.GeographyPointFromText(DbExpression, DbExpression) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 DbFunctionExpression 一個,能呼叫典型的「GeographyPointFromText」函式,並使用指定的參數。
public:
static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyPointFromText(System::Data::Common::CommandTrees::DbExpression ^ pointWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyPointFromText(System.Data.Common.CommandTrees.DbExpression pointWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyPointFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyPointFromText (pointWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression
參數
- pointWellKnownText
- DbExpression
一個表達式,提供地理點值的知名文字表示。
- coordinateSystemId
- DbExpression
一個表達式,提供地理點值的座標系 WellKnownTextValue 的座標系 ID(SRID)。
傳回
典型的「GeographyPointFromText」函式。