Partilhar via


Propriedade do RDL StoredProcedure.AnsiNullsStatus

Gets the Boolean property value that specifies whether ISO NULL handling is enabled in the stored procedure.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<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 da propriedade

Tipo: System.Boolean
A Boolean value that specifies the whether the ISO NULL handing is enabled or not.If True, comparisons to null values equates to false.If False (default), comparisons to null values equates to true.

Comentários

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.

Exemplos

Criando, alterando e removendo procedimentos armazenados

Consulte também

Referência

StoredProcedure Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE PROCEDURE (Transact-SQL)