VistaDB 6
VistaDB.DDA Namespace / IVistaDBTableSchema Interface / DefineColumnAttributes Method / DefineColumnAttributes(String,Boolean,Boolean,Boolean,Boolean,String) Method
Column's name
Column can contain nulls
Column cannot be updated
Column level encryption flag. (Obsolete as of VistaDB 5)
The extended type columns is packed when put to database file
The description of the column


In This Topic
    DefineColumnAttributes(String,Boolean,Boolean,Boolean,Boolean,String) Method
    In This Topic
    Define column's attributes.
    Syntax
    'Declaration
     
    
    Overloads Function DefineColumnAttributes( _
       ByVal name As System.String, _
       ByVal allowNull As System.Boolean, _
       ByVal readOnly As System.Boolean, _
       ByVal encrypted As System.Boolean, _
       ByVal packed As System.Boolean, _
       ByVal description As System.String _
    ) As IVistaDBColumnAttributes
    'Usage
     
    
    Dim instance As IVistaDBTableSchema
    Dim name As System.String
    Dim allowNull As System.Boolean
    Dim readOnly As System.Boolean
    Dim encrypted As System.Boolean
    Dim packed As System.Boolean
    Dim description As System.String
    Dim value As IVistaDBColumnAttributes
     
    value = instance.DefineColumnAttributes(name, allowNull, readOnly, encrypted, packed, description)
    IVistaDBColumnAttributes DefineColumnAttributes( 
       System.string name,
       System.bool allowNull,
       System.bool readOnly,
       System.bool encrypted,
       System.bool packed,
       System.string description
    )

    Parameters

    name
    Column's name
    allowNull
    Column can contain nulls
    readOnly
    Column cannot be updated
    encrypted
    Column level encryption flag. (Obsolete as of VistaDB 5)
    packed
    The extended type columns is packed when put to database file
    description
    The description of the column
    Remarks
    By default the column attributes are: allowNull = true, readOnly = false, encrypted = true (if database encrypted, otherwise = false), packed = false, caption = null, description = null
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also