Column.BindRule Método
Binds a rule to the column.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub BindRule ( _
ruleSchema As String, _
ruleName As String _
)
'Uso
Dim instance As Column
Dim ruleSchema As String
Dim ruleName As String
instance.BindRule(ruleSchema, ruleName)
public void BindRule(
string ruleSchema,
string ruleName
)
public:
void BindRule(
String^ ruleSchema,
String^ ruleName
)
member BindRule :
ruleSchema:string *
ruleName:string -> unit
public function BindRule(
ruleSchema : String,
ruleName : String
)
Parámetros
- ruleSchema
Tipo: System.String
A String value that specifies the name of the rule schema.
- ruleName
Tipo: System.String
A String value that specifies the name of the rule.
Comentarios
[!NOTA]
Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.
Ejemplos
Trabajar con objetos de bases de datos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo