The BindToColumn method enables a Microsoft® SQL Server™ default or rule on the column specified.
| Default Object | Rule Object | 
object.BindToColumn( Table, Column )
| Part | Description | 
|---|---|
| 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 | 
HRESULT BindToColumn(
SQLDMO_LPCSTR TableName,
SQLDMO_LPCSTR ColumnName);