Condividi tramite


Metodo DefaultRuleBase.UnbindFromColumn (String, String, String)

Unbinds the default or rule from the specified column with the specified table schema.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub UnbindFromColumn ( _
    tablename As String, _
    colname As String, _
    tableschema As String _
)
'Utilizzo
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
)

Parametri

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

Esempi

Creazione, modifica e rimozione di valori predefiniti

Creazione, modifica e rimozione di regole

Vedere anche

Riferimento

DefaultRuleBase Classe

Overload UnbindFromColumn

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Utilizzo degli oggetti di database

Regole

Valori predefiniti

sp_unbindefault (Transact-SQL)

sp_unbindrule (Transact-SQL)