DefaultRuleBase.BindToColumn 方法 (String, String)
Binds the default or rule to the specified column in the specified table.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub BindToColumn ( _
tablename As String, _
colname As String _
)
'用途
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
)
參數
- tablename
型別:System.String
A String value that specifies the name of the table in which the column resides.
- colname
型別:System.String
A String value that specifies the name of the column.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間