共用方式為


Column.UnbindRule 方法

Unbinds the currently bound rule from the column.

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

語法

'宣告
Public Sub UnbindRule
'用途
Dim instance As Column

instance.UnbindRule()
public void UnbindRule()
public:
void UnbindRule()
member UnbindRule : unit -> unit
public function UnbindRule()

備註

[!附註]

Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.

範例

使用資料庫物件

請參閱

參考

Column 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

sp_unbindrule (Transact-SQL)