다음을 통해 공유


SqlGeometry.STMPointFromText(SqlChars, Int32) Method

Definition

Returns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeometry STMPointFromText (System.Data.SqlTypes.SqlChars multiPointTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STMPointFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function STMPointFromText (multiPointTaggedText As SqlChars, srid As Integer) As SqlGeometry

Parameters

multiPointTaggedText
SqlChars

The WKT representation of the SqlGeometry MultiPoint instance you wish to return.

srid
Int32

An int expression that represents the spatial reference ID (SRID) of the SqlGeometry MultiPoint instance you wish to return.

Returns

A SqlGeometry value constructed form the specified WKT representation.

Attributes

Applies to