result as p = DataAsGeography(Column as N [,SRID as N])
result as p = DataAsGeography(Column as C [,SRID as N])
- ColumnNumeric Character
The column index or column name.
Returns a .NET Geography object (Microsoft.SQLTypes.SQLGeography) populated with the data from the database.
Takes data retrieved from a database and returns a .NET Geography object.
Get the data for the column name or index specified as a Geography object. SQL::ResultSet::DataAsGeography(), will return a .NET Geography object (Microsoft.SQLTypes.SQLGeography) instantiated from the data retrieved from your database. The object is instantiated regardless of the database from which the data was retrieved.