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
)
参数
- ruleSchema
类型:System. . :: . .String
一个指定规则架构的名称的 String 值。
- ruleName
类型:System. . :: . .String
一个指定规则的名称的 String 值。
注释
注意 |
---|
Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception. |