共用方式為


AnsiNullsStatus 屬性

Gets the Boolean property value that specifies whether ISO NULL handling is enabled on the table.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property AnsiNullsStatus As Boolean
    Get
    Set
'用途
Dim instance As Table
Dim value As Boolean

value = instance.AnsiNullsStatus

instance.AnsiNullsStatus = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public bool AnsiNullsStatus { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
virtual property bool AnsiNullsStatus {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
abstract AnsiNullsStatus : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
override AnsiNullsStatus : bool with get, set
final function get AnsiNullsStatus () : boolean
final function set AnsiNullsStatus (value : boolean)

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies the whether the ISO NULL handing is enabled or not.
If True, comparisons to null values equate to False. Otherwise, False (default).

實作

ITableOptions. . :: . .AnsiNullsStatus

備註

This property specifies whether any comparison to a null value equates to a NULL value. For example, a SELECT statement that uses WHERE column_name <> NULL returns zero rows even if there are non-null values in column_name.