Condividi tramite


Proprietà SystemDataType.AllowNulls

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property AllowNulls As Boolean 
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

Utilizzo dei tipi di dati

Vedere anche

Riferimento

SystemDataType Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Tipi di dati (Motore di database)