Método DefaultRuleBase.BindToDataType
Binds the default or rule to a data type.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub BindToDataType ( _
datatypename As String, _
bindcolumns As Boolean _
)
'Uso
Dim instance As DefaultRuleBase
Dim datatypename As String
Dim bindcolumns As Boolean
instance.BindToDataType(datatypename, _
bindcolumns)
public void BindToDataType(
string datatypename,
bool bindcolumns
)
public:
void BindToDataType(
String^ datatypename,
bool bindcolumns
)
member BindToDataType :
datatypename:string *
bindcolumns:bool -> unit
public function BindToDataType(
datatypename : String,
bindcolumns : boolean
)
Parâmetros
- datatypename
Tipo: System.String
A String value that specifies the name of the data type.
- bindcolumns
Tipo: System.Boolean
A Boolean value that specifies whether to bind the default or rule to 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
Namespace Microsoft.SqlServer.Management.Smo