VistaDB 6
VistaDB.DDA Namespace / IVistaDBTableSchema Interface / DefaultValues Property

In This Topic
    DefaultValues Property
    In This Topic
    Collection of column default values information. These are the default value scripts defined for a column.
    ReadOnly Property DefaultValues As IVistaDBDefaultValueCollection
    Dim instance As IVistaDBTableSchema
    Dim value As IVistaDBDefaultValueCollection
    value = instance.DefaultValues
    IVistaDBDefaultValueCollection DefaultValues {get;}
    Valid values are strings like: GetDate(), NewGuid(), 0 The entry must be valid for that column type. Setting 0 on a DateTime column will result in an exception when it is used.

    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