Méthode DefaultRuleBase.UnbindFromColumn (String, String)

Unbinds the default or rule from the specified column.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub UnbindFromColumn ( _
    tablename As String, _
    colname As String _
)
'Utilisation
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
)

Paramètres

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

Exemples

Création, modification et suppression des valeurs par défaut

Création, modification et suppression de règles

Voir aussi

Référence

DefaultRuleBase Classe

Surcharge UnbindFromColumn

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation des objets de base de données

Règles

Valeurs par défaut

sp_unbindefault (Transact-SQL)

sp_unbindrule (Transact-SQL)