Partager via


Propriété AllowNulls

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

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

Valeur de propriété

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.