Compartilhar via


BindToColumn Method

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 BindToColumn method enables a Microsoft SQL Server 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);

Applies to:

Default Object

Rule Object