Database::AnsiNullDefault Property
SQL Server 2012
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)] public: virtual property bool AnsiNullDefault { bool get () sealed; void set (bool value) sealed; }
Property Value
Type: System::BooleanA 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).