Méthode Column.BindRule
Binds a rule to the column.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub BindRule ( _
ruleSchema As String, _
ruleName As String _
)
'Utilisation
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
)
Paramètres
- ruleSchema
Type : System.String
A String value that specifies the name of the rule schema.
- ruleName
Type : System.String
A String value that specifies the name of the rule.
Notes
[!REMARQUE]
Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.
Exemples
Utilisation des objets de base de données
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo