다음을 통해 공유


AsGml 메서드

Returns the Geography Markup Language (GML) representation of a SqlGeometry instance.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function AsGml As SqlXml
‘사용 방법
Dim instance As SqlGeometry
Dim returnValue As SqlXml

returnValue = instance.AsGml()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlXml AsGml()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlXml^ AsGml()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member AsGml : unit -> SqlXml 
public function AsGml() : SqlXml

반환 값

유형: System.Data.SqlTypes. . :: . .SqlXml
A SqlXml value containing the GML representation of the calling SqlGeometry instance.