BindToColumn Method
未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。
The BindToColumn method enables a Microsoft SQL Server default or rule on the column specified.
Applies To:
語法
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);