SQL-DMO
BindToColumn Method
The BindToColumn method enables a Microsoft® SQL Server™ 2000 default or rule on the column specified.
Applies To
Default Object | Rule Object |
Syntax
object.BindToColumn( Table, Column )
Parts
object
Expression that evaluates to an object in the Applies To list
Table
String specifying an existing table by name
Column
String specifying an existing column in the specified table
Prototype (C/C++)
HRESULT BindToColumn(
SQLDMO_LPCSTR TableName,
SQLDMO_LPCSTR ColumnName);