VistaDB 5






DefaultValues Property
Collection of column default values information. These are the default value scripts defined for a column.
Syntax
'Declaration
 
ReadOnly Property DefaultValues As IVistaDBDefaultValueCollection
'Usage
 
Dim instance As IVistaDBTableSchema
Dim value As IVistaDBDefaultValueCollection
 
value = instance.DefaultValues
IVistaDBDefaultValueCollection DefaultValues {get;}
read-only property DefaultValues: IVistaDBDefaultValueCollection; 
function get DefaultValues : IVistaDBDefaultValueCollection
__property IVistaDBDefaultValueCollection* get_DefaultValues();
property IVistaDBDefaultValueCollection^ DefaultValues {
   IVistaDBDefaultValueCollection^ get();
}
Remarks
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.
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