AnsiNullDefault Property
Collapse the table of content
Expand the table of content

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 | SfcPropertyFlags.Matrix)]
public bool AnsiNullDefault { 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
© 2015 Microsoft