次の方法で共有


DefaultRuleBase.UnbindFromColumn メソッド (String, String, String)

指定されたテーブル スキーマを使用して、指定された列から既定値またはルールをバインド解除します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub UnbindFromColumn ( _
    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.UnbindFromColumn(tablename, _
    colname, tableschema)
public void UnbindFromColumn(
    string tablename,
    string colname,
    string tableschema
)
public:
void UnbindFromColumn(
    String^ tablename, 
    String^ colname, 
    String^ tableschema
)
member UnbindFromColumn : 
        tablename:string * 
        colname:string * 
        tableschema:string -> unit
public function UnbindFromColumn(
    tablename : String, 
    colname : String, 
    tableschema : String
)

パラメーター

使用例

既定値の作成、変更、および削除

ルールの作成、変更、および削除

関連項目

参照

DefaultRuleBase クラス

UnbindFromColumn オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

データベース オブジェクトでの作業

ルール

既定値

sp_unbindefault (Transact-SQL)

sp_unbindrule (Transact-SQL)