DefaultRuleBase.BindToColumn Método (String, String, String)
Binds the default or rule to the specified column in the specified table with the specified schema.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub BindToColumn ( _
tablename As String, _
colname As String, _
tableschema As String _
)
'Uso
Dim instance As DefaultRuleBase
Dim tablename As String
Dim colname As String
Dim tableschema As String
instance.BindToColumn(tablename, colname, _
tableschema)
public void BindToColumn(
string tablename,
string colname,
string tableschema
)
public:
void BindToColumn(
String^ tablename,
String^ colname,
String^ tableschema
)
member BindToColumn :
tablename:string *
colname:string *
tableschema:string -> unit
public function BindToColumn(
tablename : String,
colname : String,
tableschema : String
)
Parámetros
- tablename
Tipo: System.String
A String value that specifies the name of the table in which the column resides.
- colname
Tipo: System.String
A String value that specifies the name of the column.
- tableschema
Tipo: System.String
A String value that specifies the name of the table schema.
Ejemplos
Crear, modificar y eliminar valores predeterminados
Crear, modificar y quitar reglas
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo