Propriété UserDefinedType.IsNullable

Gets the Boolean property that specifies whether the alias data type accepts null values.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsNullable As Boolean 
    Get
'Utilisation
Dim instance As UserDefinedType 
Dim value As Boolean 

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

Valeur de propriété

Type : System.Boolean
A Boolean value that specifies whether the alias data type accepts null values.If True, the alias data type can accept null values.If False (default), the alias data type is does not accept null values.

Exemples

Utilisation de types CLR définis par l'utilisateur

Voir aussi

Référence

UserDefinedType Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation des types de données

CREATE TYPE (Transact-SQL)