Database.AnsiNullDefault Property

 

Gets or sets a value that specifies whether the ANSI_NULL_DEFAULT database option is active.

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

[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)>]
abstract AnsiNullDefault : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)>]
override AnsiNullDefault : bool with get, set

Property Value

Type: System.Boolean

A Boolean value that specifies whether the AnsiNullDefault database option is active. If True, user-defined data types default to allowing NULL values. Otherwise, False (default).

Return to top
Show: