BindToColumn Method (SQL-DMO)

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 )

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

Prototype (C/C++)

HRESULT BindToColumn(
SQLDMO_LPCSTR TableName,
SQLDMO_LPCSTR ColumnName);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.