Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Unbinds the default or rule from the specified column with the specified table schema.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub UnbindFromColumn ( _
tablename As String, _
colname As String, _
tableschema As String _
)
'Usage
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
)
Parameters
- tablename
Type: System.String
A String value that specifies the table in which the column resides.
- colname
Type: System.String
A String value that specifies the column.
- tableschema
Type: System.String
A String value that specifies the table schema.
Examples
Creating, Altering, and Removing Defaults
Creating, Altering, and Removing Rules
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace