Aracılığıyla paylaş


DefaultRuleBase.UnbindFromColumn Method (String, String)

Unbinds the default or rule from the specified column.

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

Syntax

'Bildirim
Public Sub UnbindFromColumn ( _
    tablename As String, _
    colname As String _
)
'Kullanım
Dim instance As DefaultRuleBase
Dim tablename As String
Dim colname As String

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

Parameters

  • tablename
    Type: System.String
    A String value that specifies the table in which the column resides.

Examples

Creating, Altering, and Removing Defaults

Creating, Altering, and Removing Rules

See Also

Reference

DefaultRuleBase Class

UnbindFromColumn Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Database Objects

Rules

Defaults

sp_unbindefault (Transact-SQL)

sp_unbindrule (Transact-SQL)