BindRule 方法
Binds a rule to the column.
命名空间: 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
A String value that specifies the name of the rule schema.
- ruleName
类型:System. . :: . .String
A String value that specifies the name of the rule.
注释
注意 |
---|
Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception. |