Freigeben über


SystemDataType.AllowNulls-Eigenschaft

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

Eigenschaftswert

Typ: 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.

Beispiele

Arbeiten mit Datentypen

Siehe auch

Verweis

SystemDataType Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Datentypen (Datenbankmodul)