Método DefaultRuleBase.UnbindFromDataType

Unbinds the default or rule from the specified data type

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

Sintaxe

'Declaração
Public Sub UnbindFromDataType ( _
    datatypename As String, _
    bindcolumns As Boolean _
)
'Uso
Dim instance As DefaultRuleBase 
Dim datatypename As String 
Dim bindcolumns As Boolean

instance.UnbindFromDataType(datatypename, _
    bindcolumns)
public void UnbindFromDataType(
    string datatypename,
    bool bindcolumns
)
public:
void UnbindFromDataType(
    String^ datatypename, 
    bool bindcolumns
)
member UnbindFromDataType : 
        datatypename:string * 
        bindcolumns:bool -> unit
public function UnbindFromDataType(
    datatypename : String, 
    bindcolumns : boolean
)

Parâmetros

  • bindcolumns
    Tipo: System.Boolean
    A Boolean value that specifies whether to unbind the default or rule from data types that are already bound to a column.

Exemplos

Criando, alterando e removendo padrões

Criando, alterando e removendo regras

Consulte também

Referência

DefaultRuleBase Classe

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)