共用方式為


SqlGeography.STIsEmpty 方法

Determines whether the SqlGeography instance is empty.

命名空間:  Microsoft.SqlServer.Types
組件:  Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)

語法

'宣告
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STIsEmpty As SqlBoolean
'用途
Dim instance As SqlGeography 
Dim returnValue As SqlBoolean 

returnValue = instance.STIsEmpty()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlBoolean STIsEmpty()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlBoolean STIsEmpty()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STIsEmpty : unit -> SqlBoolean
public function STIsEmpty() : SqlBoolean

傳回值

型別:System.Data.SqlTypes.SqlBoolean
A SqlBoolean value that indicates whether the calling instance is empty. Returns true if it is empty. Otherwise, returns false.

請參閱

參考

SqlGeography 類別

Microsoft.SqlServer.Types 命名空間