共用方式為


BindToColumn 方法 (String, String, String)

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub BindToColumn ( _
    tablename As String, _
    colname As String, _
    tableschema As String _
)
'用途
Dim instance As DefaultRuleBase
Dim tablename As String
Dim colname As String
Dim tableschema As String

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

參數