Поделиться через


Свойство UserDefinedFunction.AnsiNullsStatus

Gets the Boolean property value that specifies whether ISO NULL handling is enabled in the user-defined function.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property AnsiNullsStatus As Boolean 
    Get 
    Set
'Применение
Dim instance As UserDefinedFunction 
Dim value As Boolean 

value = instance.AnsiNullsStatus

instance.AnsiNullsStatus = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool AnsiNullsStatus { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool AnsiNullsStatus {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member AnsiNullsStatus : bool with get, set
function get AnsiNullsStatus () : boolean 
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.If False (default), comparisons to null values equate to true.

Замечания

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

Примеры

Установка свойств

См. также

Справочник

UserDefinedFunction Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Определяемые пользователем функции (компонент Database Engine)

CREATE FUNCTION (Transact-SQL)