Compartir a través de


Column.Nullable Propiedad

Gets or sets the Boolean property value that specifies whether the column can accept null values.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property Nullable As Boolean 
    Get 
    Set
'Uso
Dim instance As Column 
Dim value As Boolean 

value = instance.Nullable

instance.Nullable = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool Nullable { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool Nullable {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member Nullable : bool with get, set
function get Nullable () : boolean 
function set Nullable (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that specifies whether the column can accept null values.If True, the column can accept null values. Otherwise, False (default).

Ejemplos

Trabajar con objetos de bases de datos

Vea también

Referencia

Column Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

CREATE TABLE (Transact-SQL)