BindRule 方法

将规则绑定到该列。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub BindRule ( _
    ruleSchema As String, _
    ruleName As String _
)
用法
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
)

参数

注释

注意注意

Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.