Compartir a través de


AnsiNullsStatus Propiedad

Obtiene el valor de propiedad Boolean que especifica si está habilitado el control de valores NULL ISO en el procedimiento almacenado.

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 StoredProcedure
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 el si se habilita el control de ISO NULL 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 that uses WHERE column_name <> NULL returns zero rows even if there are non-null values in column_name.