مشاركة عبر


SystemDataType.AllowNulls Property

Gets the Boolean property that specifies whether the system data type allows null values.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property AllowNulls As Boolean 
    Get
'Usage
Dim instance As SystemDataType 
Dim value As Boolean 

value = instance.AllowNulls
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool AllowNulls { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool AllowNulls {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member AllowNulls : bool
function get AllowNulls () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the system data type allows null values.If True, the system data type allows null values.If False, the system data type does not allow null values.

Examples

Working with Data Types

See Also

Reference

SystemDataType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Data Types (Database Engine)