Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The BindToDatatype method enables a default or rule on the user-defined data type specified.
Syntax
object
.BindToDatatype(
DatatypeName
, [ FutureOnly ] )
Parts
- 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.
Prototype (C/C++)
HRESULT BindToDatatype(
SQLDMO_LPCSTR DatatypeName,
BOOL bFutureOnly = FALSE);