Column.UnbindDefault Method

Unbinds the currently bound default from the column.

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

Syntax

'Declaration
Public Sub UnbindDefault
'Usage
Dim instance As Column

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

Remarks

Note

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

Examples

Working with Database Objects

See Also

Reference

Column Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

sp_unbindefault (Transact-SQL)