Método DefaultRuleBase.UnbindFromColumn (String, String)

Unbinds the default or rule from the specified column.

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

Sintaxe

'Declaração
Public Sub UnbindFromColumn ( _
    tablename As String, _
    colname As String _
)
'Uso
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
)

Parâmetros

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

Exemplos

Criando, alterando e removendo padrões

Criando, alterando e removendo regras

Consulte também

Referência

DefaultRuleBase Classe

Sobrecarregado UnbindFromColumn

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Trabalhando com objetos de banco de dados

Regras

Padrões

sp_unbindefault (Transact-SQL)

sp_unbindrule (Transact-SQL)