Compartir a través de


AnsiNullsStatus Propiedad

Obtiene el valor de propiedad Boolean que especifica si el control de valores NULL ISO está habilitado en la función definida por el usuario.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property AnsiNullsStatus As Boolean
    Get
    Set
'Uso
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)

Valor de la propiedad

Tipo: System. . :: . .Boolean
Valor Boolean que especifica si el control de valores NULL ISO está habilitado o no.
Si es True, las comparaciones con valores NULL son igual a False.
Si es False (valor predeterminado), las comparaciones con valores NULL son igual a True.

Comentarios

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.