Freigeben über


BindToColumn-Methode (String, String)

Binds the default or rule to the specified column in the specified table.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub BindToColumn ( _
    tablename As String, _
    colname As String _
)
'Usage
Dim instance As DefaultRuleBase
Dim tablename As String
Dim colname As String

instance.BindToColumn(tablename, colname)
public void BindToColumn(
    string tablename,
    string colname
)
public:
void BindToColumn(
    String^ tablename, 
    String^ colname
)
member BindToColumn : 
        tablename:string * 
        colname:string -> unit 
public function BindToColumn(
    tablename : String, 
    colname : String
)

Parameter