The BindToDatatype method enables a Microsoft® SQL Server™ 2000 default or rule on the user-defined data type specified.
object.BindToDatatype( DatatypeName, [ FutureOnly ] )
object
Expression that evaluates to an object in the Applies To list.
DatatypeName
String specifying an existing user-defined data type by name.
FutureOnly
When TRUE, binding does not cause a check of columns existing and defined using the data type. When FALSE (default), existing values are checked for agreement with the rule.
HRESULT BindToDatatype(
SQLDMO_LPCSTR DatatypeName,
BOOL bFutureOnly = FALSE);